<a href='" + Url + "'><img src=cid:companylogo/></a> <a href='http://Link'><img src=cid:companylogo/></a> <a href="http://localhost:3560/Home/View/3">><img src=cid:companylogo/></a> Link on > working but on attached image link not working. Interesting thing is both > and image are inside anchor tag.
Attachment imgattm = new Attachment(HttpContext.Current.Server.MapPath(@"/Content1/img/key-login-icon.png")); imgattm.ContentId = "companylogo"; mail.Attachments.Add(imgattm);
.login { background: url(../img/user.png) no-repeat 6px center; width: 100px; height: 100px; display: block; }
<a href="#" class="login" title="Login"><img src="../img/user.png" /></a>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)