[thelist] Achieve tabled images-style layout with CSS - HELP!

MRC webmaster at equilon-mrc.com
Mon Jan 7 23:10:46 CST 2002


> Adrian,
>
> > Specify it in your style sheet:
> > img { display: block; }

    Further to my previous comments, Mozilla 0.9.7 places line-height within
the div (which is likely the problem Adrian was addressing). The easiest way
to eliminate it is to add line-height: 0px to the style sheet declarations
for the divs that contain the images, or to force Mozilla into quirks mode
(e.g., by removing the doctype declaration).

James Aylard






More information about the thelist mailing list