Re: [css-d] An explanation..

2006-03-01 Thread David Dorward
On 01/03/06, Michel Sabatino <[EMAIL PROTECTED]> wrote: > #content{ > width:540px; > padding:20px; > } > 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? Internet Explorer can't

Re: [css-d] An explanation..

2006-03-01 Thread Gunlaug Sørtun
Christian Heilmann wrote: > I beg to differ, there is nothing old or IE centric about this > approach. You simply define something for a browser that does not > understand the child selector and override/enhance it for those that > do. That is nothing hacky or bad, it is simply the CSS equivalen

Re: [css-d] An explanation..

2006-03-01 Thread Christian Heilmann
> > Can somebody explain me briefly the last line : html>body #content > > Why declare the width in this declaration and not above? > That's an old method for hiding styles from IE/win, as IE/win-versions > up to and including IE6 don't understand the '>' selector. Won't work in > IE7. I beg to di

Re: [css-d] An explanation..

2006-03-01 Thread Gunlaug Sørtun
Michel Sabatino wrote: > 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? That's an old method for hiding styles from IE/win, as IE/win-versions up to and including IE6 don't understa

Re: [css-d] An explanation..

2006-03-01 Thread Harrison, George \(FSH\)
D] 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 ex

[css-d] An explanation..

2006-03-01 Thread Michel Sabatino
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? Tha