RobsoN
4th March 2014, 17:30
Hello, I got weird problem with my edit button. I have in my table cell edit image as link, but when I add <a href = ..> then I got whitespace around the image (however image displays well without it).
I tried many fixes on net, but no one want to work. It looks like this:
661
echo "...
<table width="100%" cellpadding="1" cellspacing="1" border="0" class="forumline">
....
<tr>... <td><a href=\"http://myextreme.pl/admin_panel.php?type=access_management&edit_$results[id]\"><img src= \"img/edit.png\" alt=\"edit\"></a></td>....</tr>
....
</table>";
CSS:
.forumline{background-color: #161616;border: 0px; }
How can I add image as link in table cell without this white space around? Thanks in advice.
I tried many fixes on net, but no one want to work. It looks like this:
661
echo "...
<table width="100%" cellpadding="1" cellspacing="1" border="0" class="forumline">
....
<tr>... <td><a href=\"http://myextreme.pl/admin_panel.php?type=access_management&edit_$results[id]\"><img src= \"img/edit.png\" alt=\"edit\"></a></td>....</tr>
....
</table>";
CSS:
.forumline{background-color: #161616;border: 0px; }
How can I add image as link in table cell without this white space around? Thanks in advice.