Chris Chris - 8 months ago 51
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:

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 Source

Change meSSSage to meSSage :

.validation-summary-errors span.exception-messsage 


.validation-summary-errors span.exception-message