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

Re: Center DIV

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 7 Jul 2003 02:33:40 -0700 (PDT)
To: Mikko Rantalainen <mira@cc.jyu.fi>
Cc: "www-style@w3.org" <www-style@w3.org>, Bert Bos <Bert.Bos@sophia.inria.fr>
Message-ID: <Pine.LNX.4.56.0307070232360.2646@dhalsim.dreamhost.com>

On Sat, 5 Jul 2003, Mikko Rantalainen wrote:
>
> Say I have rule
> html, body { height: 100%; margin: 0; padding: 0; }
> and I have content that requires more than one viewport height of
> vertical space, is the html (or body) element supposed to grow, or
> is the content supposed to overflow the root (or body) element?

Yes, it is supposed to overflow using the 'overflow' property.


> I'd rather set min-height: 100%; so that the root element would grow as
> required for sure, but that browser from Redmond doesn't support it.

Browser-specific bugs are off-topic for this mailing list. See
css-discuss.org for a more appropriate venue for browser-specific
workarounds.

-- 
Ian Hickson                                      )\._.,--....,'``.    fL
"meow"                                          /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 7 July 2003 05:33:11 GMT

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