Re: height-property

On Thu, 8 Jul 2004, John Fredsted wrote:

> The following code validates, as you may check by copy-paste, XHTML
> Strictly:
- -  
> The problem is that the vertically expansion of row 2 of the inner table
> does not work. If however the doctype declaration line is removed it
> works as expected.

This does not depend on validation but on browsers' (mis)behavior. They
may treat the DOCTYPE declaration as a magic string so that its presence
or absence or specific from triggers "standards mode" or "quirks mode"
("DOCTYPE sniffing"). In this case the behavior is probably related to the
browser's interpretation of CSS (correct vs. incorrect box model).
You might ask about the problems on some forum devoted to practical CSS
authoring.

-- 
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/

Received on Thursday, 8 July 2004 09:11:04 UTC