[thelist] [tables HTML4.01] Strange NN6.2.1 behaviour

DESCHAMPS Stéphane DvSI/SICoR stephane.deschamps at francetelecom.com
Tue Oct 29 09:34:01 CST 2002

> -----Message d'origine-----
> De : thelist-admin at lists.evolt.org
> [mailto:thelist-admin at lists.evolt.org]De 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"

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)


More information about the thelist mailing list