ListItem css change on active page?

Try this in conjunction with your javascript that adds the class.

Try this in conjunction with your javascript that adds the class. Ul. HeaderMenu li.

IsSelected a { font-weight: bold; color: white; }.

Yes, this worked, thanks. – Odan Dec 28 '11 at 8:54.

The styles for the link are probably overriding the styles that are being applied by the class. Try this instead . IsSelected a { font-weight: bold; color:white;} #menuListItems li a { font-weight: normal; color: grey;} And there's no need for IsNotSelected as this will be the default style.

Unfortunately, this doesn't work either, Ive updated my code (and first post) to not use isNotSelected and use the above, but it still doesn't work – Odan Dec 27 '11 at 21:11 Well, this wouldn't work as #menuListItems li a has a much higher specificity than . IsSelected a. Include the ID and li in the .

IsSelected selector as well and you should be good. – powerbuoy Dec 28 '11 at 3:52 @powerbuoy, thanks, you are also correct, I had to add the ID and li to the . IsSelected to give it higher specificity, as Scott had also mentioned (which I accepted as the answer) – Odan Dec 28 '11 at 8:59.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions