Chris Chris - 18 days ago 7
CSS Question

Why is this CSS rule not being hit?

I'm trying to make a little exception visualizer that works with nested exceptions. It's rendering nicely, except for one thing:

.validation-summary-errors span.exception-messsage {
font-weight: bold;
display: block;
}


The above CSS rule is not being applied. Any idea why?

Here's the code: http://jsfiddle.net/cabichandani/yF7KP/2/

Update: I'd be embarrassed if it weren't for the fact that I am SO DELIGHTED to have this fixed. The extra "s" evaded me for maybe a half hour!

Answer

Change meSSSage to meSSage :

.validation-summary-errors span.exception-messsage 

to

.validation-summary-errors span.exception-message
Comments