Previous Message
Next Message

Re: [css-d] html>body (was RE: how do you kill vertical scrollbar in IE 1 2)

Sent by Craig Saila on 29 January 2002 13:01


Timothy J. Luoma wrote:
>>   html,body { overflow: auto; }
>>   html>body { overflow: visible; }
>>   html      { height: 100%; }
> 
> Ok, I understand the first and the third, but can someone explain to me
> what the syntax of the second means?

The is only valid when BODY is a direct child of HTML:
<http://www.w3.org/TR/REC-CSS2/selector.html#child-selectors>

It's also a way of weeding out browsers like (IE on Windows) that don't 
fully support CSS2.

-- 
Cheers,

Craig Saila
------------------------------------------
[EMAIL-REMOVED]  :  http://www.saila.com/
------------------------------------------


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
Previous Message
Next Message

Possibly related: