W3C home > Mailing lists > Public > www-style@w3.org > September 2003

Re: bugs? (the same) in netscape and opera

From: fantasai <fantasai@escape.com>
Date: Sat, 13 Sep 2003 12:18:00 -0400
Message-ID: <3F634338.6010800@escape.com>
To: www-style@w3.org

Sigurd Lerstad wrote:
> 
> The <body> element gets the width of the window (width is auto) even if
> there's a non-wrapping line that is wider than the window. The <html>
> element correctly? gets a width to encompass all of the children so it adds
> a horizontal scrollbar. I can see that this is open to discussion, but I
> would have expected that when width is auto on the body element, it would
> try to get as wide as the widest child, instead of letting children overflow
> to the right. IE does this.

(Assuming it has display: block,) the <body> element behaves just like
any other block. So, it lets wider children overflow its boundaries,
just like any other block.

~fantasai
Received on Saturday, 13 September 2003 12:18:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:23 GMT