W3C home > Mailing lists > Public > www-validator@w3.org > July 2004

Re: height-property

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Thu, 8 Jul 2004 16:11:03 +0300 (EEST)
To: www-validator@w3.org
Message-ID: <Pine.GSO.4.58.0407081607060.22108@korppi.cs.tut.fi>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:14 GMT