I believe it's attempting to set a separate a width from ie5+, but it
will fail with ie7, which may be ok, because ie7 will get the box model
right. 

http://css-discuss.incutio.com/?page=ChildHack

Regards

gh 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michel
Sabatino
Sent: March 1, 2006 11:10 AM
To: CSS discuss
Subject: [css-d] An explanation..

Hi to all.

Here some code :

#content{
    float:left;
    width:540px;
    text-align:left;
    padding:20px;
    background:#fff;
}

html>body #content{width:500px;}


Can somebody explain me briefly the last line : html>body #content Why
declare the width in this declaration and not above?

Thanks.

Regards.

Michel.
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org
-- http://www.evolt.org/help_support_evolt/
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to