Home › Forums › CSS › [Solved] Applying Two Classes › Re: [Solved] Applying Two Classes
December 25, 2009 at 4:37 pm
#68669
falkencreative
Member
Well, when you need to give an element two classes, you list it like so (no commas between classes):
"class1 class2"
And also, in your CSS, if you use "#header ul li a.current" rather than just ".current", that should fix it. Basically, that makes that particular statement more important, so it doesn’t get overwritten by other CSS statements. See http://www.smashingmagazine.com/2007/07 … ould-know/ for more info.