ofir
10-23-2005, 06:00 AM
there is a way to do this i just cant remember how :(
something like :
.kkk {
[class='anotherclass']
}
something like :
.kkk {
[class='anotherclass']
}
|
Click to See Complete Forum and Search --> : determine a class for a class ofir 10-23-2005, 06:00 AM there is a way to do this i just cant remember how :( something like : .kkk { [class='anotherclass'] } NogDog 10-23-2005, 02:29 PM Well, not sure what you're trying to accomplish, but you can define 2 classes to have the same attributes, then notate the differences as: .anotherclass, .kkk { /* define attributes that are the same */ } .kkk { /* define attributes that are different for class kkk */ } Alternatively, you can assign two classes (not two IDs) to an element: <div class="anotherclass kkk"> ofir 10-23-2005, 05:49 PM NOPE !! not what i mean... to clear my intention : .example { font-size: 20px; } #someid[img="ganjah"] { class="example" } NogDog 10-23-2005, 06:04 PM No, I've never seen anything quite like that. Can you explain what functionality you are trying to accomplish with it? drhowarddrfine 10-23-2005, 06:46 PM What he's doing is selecting by attribute so #someid[img="ganjah"] { class="example" } means when #someid has an img equal to ganjah then class=example. I'm not sure, though that you can change classes but I just don't recall. webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |