i'm using php to define the value for an input submit button. What i've found it that in IE, after about 20-25 characters, the input box appears to go stretched and distorted. I've tried using the size property as well as the width style, but the box still appears distorted, but looks fine in firefox.
Does anyone know of any css to solve this?
thanks.The IE button is an image, so if it is very wide it distorts just as any image would.
You can reduce it's size by removing the "padding":
button{overflow:visible;padding:0 3px;}
It's the overflow which removes the "padding".
Does anyone know of any css to solve this?
thanks.The IE button is an image, so if it is very wide it distorts just as any image would.
You can reduce it's size by removing the "padding":
button{overflow:visible;padding:0 3px;}
It's the overflow which removes the "padding".