Re: Center DIV

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 UTC