Sun, 2009-10-18 13:46
Hi
I use a div tag operation to do hide/show, and for the operation to work properly, the divs have to be sequentially numbered.
What I would like to know, is, is there a way to have a wild card type tag that reads the first part of the class tag, so they can all be styled the same?
So, instead of .class_one, .class_two, .class_three, etc
it could read, .class_(some way to only see these tag labels)
Just a thought
Thanks in advance
Sun, 2009-10-18 15:57
#1
you can give multiple classes
you can give multiple classes to elements.
ie
<div class="class_one slider"></div><div class="class_two slider"></div>
etc...
and if you want all of them to have the same style, just called
.slider { ... }