"datactrl" <qu***@tpg.com.au> wrote in message
news:41********@dnews.tpgi.com.au...
Hi,
Can I define a css class selector depending on another class selector?
Do you mean like this?
class1{some style stuff here}
class2 = class1 + {some more style stuff here}
I found two ways:
1)
class1, class2{common style stuff here}
class2{class2 specific style stuff here}
2}
class1{style stuff here}
class2{more style stuff here}
....and combine them like this...
<div class="class1 class2">Summat here</div>