Reputation: 309
Just trying to get a very simple sprite to work: Example
What I am trying to do is toggle between the "set" and "unset" bold/italic icons which are in the first and second row of my sprite (respectively).
<a id="bold" class="disabled"></a>
<a id="italic"></a>
Code seems to be ignoring the "disabled" class as I would expect the bold to be unset (ie have a white background with black text).
Can anybody see what I have done wrong?
Many thanks for any help!
Upvotes: 1
Views: 49