/ Published in: CSS

Expand |
Embed | Plain Text
/* HTML: */ <input class="button" type="button" value="Go"> /* .. or .. */ <button class="button">Go</button> /* CSS: */ input.button { text-indent: -9000px; text-transform: capitalize; } /* Negative-indent alone unfortunately doesn't work to remove text from a button element in IE7, but add text-transform: capitalize; and presto! */
You need to login to post a comment.