Date: 03/08/07 (Web Development) Keywords: css Is there a way in pure CSS2 (supported by IE), to give an attribute to any element that has the same class name as its parent without specifying each name? I know I could just do div.tech span.tech, div.other span other for the attribute name in the CSS file, but was curious if there was a shortcut to this. special text herethis text will only be highlighted when contained in a div with a class of other I need a list of words randomly arranged and when they are on a certain page only the words applicable to that section stand out.
|