Internet Explorer automatically adds padding to buttons in HTML forms.
This space stretches according to the length of the button’s text.
Eg,

Use the CSS rule:
* html input { overflow: visible; }to remove the extra padding.
This rule uses the Html Star Hack so only Internet Explorer applies it.
Comments
Related articles
- Microsoft forces backward step in email design
- Making RSS pretty using XSL and CSS
- HTML Star Hack
- Using CSS to produce an image gallery
- CSS Hacks
- Skip navigation
Most recent articles
- FeedGrab and CSVGrab now multiple site compatible
- Rejigging brandnewbox
- Safari 3 beta launched for OS X and Window
- Spot the difference
- Setting up an ExpressionEngine Opensearch plugin
1. Nick
13th Apr 2006 at 3:59 am