Posted by Rik on 03/05/07 13:19
Ciaran <cronoklee@hotmail.com> wrote:
> Hi is it possible to set a class to another class in a stylesheet
> file? As circumstance would have it I need to do something like this:
>
> .class1{ color:#ccc;}
>
> .class2{ class:class1; width:200px;}
>
> It kind of goes agains the whole "cascading" idea so I'm not sure if
> its possible. if it is, can someone post the syntax?
Are you sure you don't simply mean:
..class1.class2{width:200px;}
--
Rik Wasmus
Posted on Usenet: any site claiming this as original content or me as an
contributing member is wrong.
Ask Smart Questions: http://tinyurl.com/anel
Navigation:
[Reply to this message]
|