[thelist] [tables HTML4.01] Strange NN6.2.1 behaviour
DESCHAMPS Stéphane DvSI/SICoR
thelist at lists.evolt.org
Tue Oct 29 09:34:01 2002
> -----Message d'origine-----
> De : thelist-admin at lists.evolt.org> [mailto:thelist-admin at lists.evolt.org la part de Bill Mason
> It's probably this:
> http://developer.netscape.com/evangelism/docs/articles/img-table/
Exactly. Thanks very much.
<tip type="transitional/strict HTML 4.01 with tables and image layout"
author="notabene">
Whenever you need the old <td><img></td> trick to display items that stick
to each other, specifying a DTD forces Netscape 6+ (7?) to display images as
text content, thus leaving an empty space around the image (bottom and
sometimes top).
The workaround is : <td><img style="display:block;"></td> or any style
declaration derived from that.
Read http://developer.netscape.com/evangelism/docs/articles/img-table/ for
more insight.
(credit goes to Bill Mason)
</tip>