Posts: 65
Location: san francisco, ca
|
Please see my TEST PAGE
(which contains a deliberately truncated example of whats going on in my main working page)
I am having trouble getting the class added via addClass to trump the CSS already on that element
I have LI's styled via CSS, each with their own unique class.
Using jquery addClass, i'd like to swap those classes with a different class (mouseover)
But the only properties added are those not specifically called in the default class
For example, the text-decoration is the only thing added because thats the only part of the addClass class not trumped.
As a test, i strike the BG-color from one of the default classes, and it works: the BG-color from the addClass class displays.
I have tried moving the addClass class higher-up in the CSS stack, thinking sequence would make a difference, but no joy.
Any assistance is appreciated...
|