A.button, A.button:LINK, A.button:VISITED, A.button:ACTIVE, { float: left; display: block; background: transparent url(images/button.gif) no-repeat 0px 0px; overflow: hidden; height: 25px; width: 127px; margin-right: 8px; line-height: 29px; text-align: center; text-decoration: none;}A.button:HOVER { background-position: 0px -25px;}
<a href=\"/\" class=\"button\">Press Me</a>
A { color: 000000; }A:hover { color: ffffff; }
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?
By default I have:
Of course my black text on a white button was 'disappearing' on rollover.
Geez, what a noob! :oops: