Site Owners Forums - Webmaster Forums

Site Owners Forums - Webmaster Forums (http://siteownersforums.com/index.php)
-   HTML / DHTML (http://siteownersforums.com/forumdisplay.php?f=7)
-   -   Negative text indent for input buttons (http://siteownersforums.com/showthread.php?t=59723)

davikerkrish 09-06-2012 04:11 AM

Negative text indent for input buttons
 
Negative text indent is normally used to hide the text value inside buttons, which lets you use custom background images for them. For some reason, IE doesn�t support negative text indent for input buttons.

input.button {
width:114px;
height:37px;
border: none;
background: transparent url(images/button_image.gif) no-repeat center;
overflow: hidden;
text-indent: -999px;
}


All times are GMT -7. The time now is 11:02 PM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.