I'm making a fancy button that has hover and click effects. The button looks something like:
<a class="redB">
<span class="a"> </span>
<span class="b">Email Us</span>
<span class="c"> </span>
</a>
My problem is in trying to access the three span elements in my css like this:
.redB:active span.a{background-position:0 -432px}
.redB:active span.b{background-position:0 -504px}
.redB:active span.c{background-position:0 -576px}
This works fine in FF and Chrome, but not in Internet Explorer :(
I'm also using this css for the hover
.redB:hover span.a{background-position:0 -216px}
.redB:hover span.b{background-position:0 -288px}
.redB:hover span.c{background-position:0 -360px}
And that works great in FF, Chrome and IE
Is there a way to get the :active class working like for child elements in IE?