- From: fantasai <fantasai@escape.com>
- Date: Sat, 13 Sep 2003 12:18:00 -0400
- 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 UTC