CSS Question: is it possible to redefine a tag only within the context of a certain class?
January 5, 2004 10:42 AM
Subscribe
CSS Question: is it possible to redefine a tag only within the context of a certain class?
For instance, if I have a class called text1, could I specify that any [a] element which is contained in a [span] with the text1 class have certain properties?
I know I could define it for each a with an a.text1 selector, what I want is to not have to set a class for each a element, but rather just wrap them all in the span.
posted by signal to computers & internet (4 comments total)
foo: bar;
}
I think that's what you're looking for.
posted by jpoulos at 10:45 AM on January 5, 2004