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

Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
Received on Thursday, 8 July 2004 09:11:04 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:43 UTC