Return to Snippet

Revision: 24804
at March 11, 2010 12:53 by sveggiani


Updated Code
input.button {
    padding: 0 .25em;
    width: 0;
    overflow:visible;
}

input.button[class] { /*ie ignores [class]*/
    width: auto;
}

Revision: 24803
at March 11, 2010 12:50 by sveggiani


Initial Code
<style>
td{border:1px solid red;}
.button{margin:0;padding:0 .25em;width:auto;overflow:visible;}
</style>
<!--[if IE]>
<style>.button{width:1;}</style>
<![endif]-->

Initial URL
http://jehiah.cz/archive/an-even-better-ie-button-width-fix

Initial Description


Initial Title
fix width of buttons on IE

Initial Tags
ie

Initial Language
CSS