Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Javascript only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
Javascript
about css class selector
Collapse
This topic is closed.
X
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
datactrl
#1
about css class selector
Jul 23 '05, 01:22 PM
Hi,
Can I define a css class selector depending on another class selector?
Thanks a lot!
Jack
Danny@Kendal
#2
Jul 23 '05, 01:22 PM
Re: about css class selector
"datactrl" <quals@tpg.com. au> wrote in message
news:413736f4$1 @dnews.tpgi.com .au...[color=blue]
> Hi,
>
> Can I define a css class selector depending on another class selector?[/color]
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>
Comment
Post
Cancel
datactrl
#3
Jul 23 '05, 01:23 PM
Re: about css class selector
Thanks a lot, Danny. It's exactly what I want.
Jack
[color=blue]
> 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>
>
>[/color]
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment