I am using a sprite to create a rollover button that I can display text on. It works just fine when the page loads.When I mouse over the button, it changes the background position just like it should but the text disappears.
Here is my css:
and I am calling it like this:
I could create an image with the text embedded in the image but I want a generic button that I can reuse.
What am I missing here?
I’m such a dork!
By default I have:
Of course my black text on a white button was ‘disappearing’ on rollover.
Geez, what a noob! :oops:
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".