This is simply absolutely true because the 'body' element is the global (and
only) element until you change something. i.e. Add another element into the
'body'.
Regards,
Alan.
www.theatreorgans.co.uk
www.virtualtheatreorgans.com
Admin: ConnArtistes, UKShopsmiths, 2nd Touch & A-P groups
Shopsmith 520 + bits
Flatulus Antiquitus
----- Original Message -----
From: Serge Krul
To: Alan K Baker
Cc: css-d
Sent: Friday, October 10, 2008 2:11 AM
Subject: Re: [css-d] IE position problem
Setting padding and margin to 0 in 'body' will globally remove all padding
and margins until you change the situation.
This is simply not true. body {padding:0; margin:0} will zero margin and
padding only on the body element. This is in no mean a global reset because the
padding and margin properties are not inherited. Read the spec:
http://www.w3.org/TR/CSS21/box.html#padding-properties
Serge Krul
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/