anoying cellspacing problem

liunx

Guest
This has got to be easy.<br />
<br />
I have a table cell containing an image.<br />
The problem is that when I apply an anchor tag "<A HREF=http://www.webdeveloper.com/forum/archive/index.php/"<br />
to the image cell, my browser inserts cellspacing around it.<br />
The "<table" tag includes cellspacing=0.<br />
<br />
I've tried inserting a variety of STYLE="???:??" attributes to the "<IMG" and "<A" tags but cannot find one that affects the cellspacing.<br />
<br />
Help. I'm running out of hair.<br />
<br />
Thanks<br />
<br />
Gord<!--content--><img style="border:0;" ...<br />
or<br />
Images, Tables, and Mysterious Gaps (<!-- m --><a class="postlink" href="http://devedge.netscape.com/viewsource/2002/img-table/">http://devedge.netscape.com/viewsource/2002/img-table/</a><!-- m -->)<!--content-->Nest the closing and opening tags against the <TD> and </TD> tags:<br />
<br />
<br />
<br />
<td><a href=http://www.webdeveloper.com/forum/archive/index.php/"">some text</a></td><br />
<br />
<br />
<br />
instead of <br />
<br />
<br />
<td><br />
<a href=http://www.webdeveloper.com/forum/archive/index.php/"">some text></a><br />
</td><!--content-->thanks a lot.<br />
<br />
The <img style="border:0;" solved it. I must have missed trying that option whilst heading the screen.<br />
<br />
& Thanks for the link Fang. I think my almost finished, not normal, website is in for some work when I test it on netscape & different IE browsers.<br />
<br />
Bring back the Sinclair spectrum. In those days coding either worked or it didn't.<br />
<br />
Thanks again.<br />
<br />
Gord<!--content-->
 
Back
Top