Re: [css-d] Stop the cascade

2006-02-02 Thread Adam Kuehn
At 11:25 AM 2/2/2006, Zoe M. Gillenwater wrote: >Brian Ogden wrote: > > Is there a way to do this: > > > > Some Content > > > style="text-align:none"> > > > > > > In other words how do I stop the cascade? > >You can't stop the cascade. But every property has a default value, and >you can set

Re: [css-d] Stop the cascade

2006-02-02 Thread Zoe M. Gillenwater
Brian Ogden wrote: > Is there a way to do this: > > Some Content > style="text-align:none"> > > > In other words how do I stop the cascade? > You can't stop the cascade. But every property has a default value, and you can set a property back to its default value in the second div. In

Re: [css-d] Stop the Cascade

2006-02-01 Thread Paul Novitski
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-col

Re: [css-d] Stop the Cascade

2006-02-01 Thread David Dorward
On 01/02/06, Brian Ogden <[EMAIL PROTECTED]> wrote: > Is there any way to stop a child element from inheriting > style properties of its parent element? Specify something other the "inherit" as the value for that property on the child element. (No, you can't inherit from the grandparent). -- Da

[css-d] Stop the Cascade

2006-02-01 Thread Brian Ogden
Is there any way to stop a child element from inheriting style properties of its parent element? __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ S

Re: [css-d] Stop the cascade

2006-02-01 Thread cj
On 2/1/06, Brian Ogden <[EMAIL PROTECTED]> wrote: > Is there a way to do this: > > Some Content > style="text-align:none"> > > > In other words how do I stop the cascade? the only two ways i know how to do this are: - give the outside div an actual class/id and specify the don't-want-to-ca

[css-d] Stop the cascade

2006-02-01 Thread Brian Ogden
Is there a way to do this: Some Content In other words how do I stop the cascade? __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by