|
Avoid !important... the more you use it, the more habitual it becomes, and the worse your code gets. Avoid it at all costs. Most uses of !important are because you didn't write your CSS properly.
Also, again, what browser are you using?
And yes, .{name of class} is how you definite a class in your CSS, but you also have to give your element a class tag with that name in it.
|