Re: when using validator is not sensible

fr 17 aug 2001 12:55:52, Karl Ove Hufthammer <huftis@bigfoot.com>:

> Netscape 6 renders the page *correctly* when using the DOCTYPE. 
> Try adding:
>
> img { vertical-align: bottom; }

Er, change that to:

img { vertical-align: bottom; display: block; }

The reason for this, is at that the default values for images are 
'vertical-align: baseline' and 'display: inline'. According to the 
inline box rules of CSS (which are not very easy to understand), 
Netscape 6 displayed the page correctly.

-- 
Karl Ove Hufthammer

Received on Friday, 17 August 2001 07:07:22 UTC