At 12:46 PM 2/1/2006, Brian Ogden wrote:
>Is there any way to stop a child element from inheriting style
>properties of its parent element?
I would say No -- the best you can do is counter the inherited rule
with another.
p
{
background-color: #FFF;
}
p span
{
background-color: #000;
}
more:
http://www.w3.org/TR/CSS21/cascade.html#inheritance
Paul
______________________________________________________________________
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/