html - Unnecessary lines appearing between image-links -
i'm using 3 images side-by-side, , adding url.action each 1 of them. code works fine, images being displayed w/ sort of line between them. here code:
<a href="@url.action("subcribe", new { id = item.id })"> <img src="images\subscribe.png" style="border:0" alt="subscribe" /> </a> <a href="@url.action("edit", new { id = item.id })"> <img src="images\edit.png" style="border:0" alt="edit" /> </a> <a href="@url.action("delete", new { id = item.id })"> <img src="images\delete.png" style="border:0" alt="delete" /> </a>
edit - happening when tried alternate, non-url.action method:
<a href="subcribe\@item.id"> <img src="images\subscribe.png" style="border:0" alt="subscribe" /> </a>
here how images displaying:
try put each image in 1 line:
<a href="@url.action("subcribe", new { id = item.id })"><img src="images\subscribe.png" style="border:0" alt="subscribe" /></a>
it seems underline of space in link. can add 'text-decoration: none;' in style of links.
Comments
Post a Comment