I'm reading The Art of War, edited by John Minford. I found there an interested passage. It is a quote from Records of the Grand Historian, which was written by...
There is a simple, but genius, method to replace button with icon. I learned it from jQuery.
First, create the button, as you would always do. You can use <button> or <input type=”button”>
Remove the text by setting text-indent with large negative value
Finally, set the size and background on the button.
If there is a problem with Internet Explorer, add the following two lines. Display must be set to block to prevent the button from being repositioned.
That’s what you call hack of the day!