09-06-2012, 04:11 AM | #1 |
Registered User
Join Date: Jul 2012
Posts: 111
|
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; }
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Benefits for Text Editor | ncjbhd | HTML / DHTML | 17 | 01-25-2017 03:36 AM |
Buttons found in Blogs | wryfhk22 | ASP | 15 | 01-02-2014 12:09 AM |
Anchor Text Vs Google Algorithm | Jimerson12 | Search Engine Optimization | 0 | 08-16-2012 03:26 AM |
an image for a link, without any text? | cioafua | Programming General | 3 | 06-01-2012 02:51 AM |
Text Areas | ncjbhd | HTML / DHTML | 1 | 11-15-2011 04:09 AM |