Forum Moderators: open
I.E. and Netscape handle images a bit differently, and I can't seem to get images to line up right next to each other in Netscape if they are in different table cells. What is the right way to do this?
Thanks for your help.
<td><img></td> or <td><img><img><img></td>
they should line up just fine.
for some reason in NN if you put them on seperate lines they have a hair's width of space in between.
<tr>
<td>
<img></td>
</tr>
works fine. For some reason, Netscape browsers will render the whitespace at that point, even though it's not supposed to: it's a misfeature (not sure if it's a bug as such).
A similar misfeature occurs in <a> tags. If you write this:
<a href="...">
Text
</a>
Netscape will insert a space after "Text" and make it part of the link. The effect is even uglier when the link is an image:
<a href="...">
<img>
</a>
Netscape will display the image, and right next to it a clickable underscore character. The fix is the same:
<a href="...">
Text</a>
and
<a href="...">
<img></a>
The following article by Eric Meyer is useful in explaining why images can have gaps next to them:
Hope this helps.