CSS: Size of buttons in Chrome is different than Firefox
Posted
by Hank
on Stack Overflow
See other posts from Stack Overflow
or by Hank
Published on 2010-06-02T02:38:40Z
Indexed on
2010/06/02
2:43 UTC
Read the original article
Hit count: 252
I have the following HTML code:
<style type="text/css">
.submitbutton{margin-left:-2px}
</style>
...
<form>
...
<input class=submitbutton type=submit value="Create Listings" />
</form>
In Firefox, the input button has more padding than in Chrome.
Any ideas why?
UPDATE: If you're wondering why I have the negative margin - it's because between the input field and the input button - there is too much space.
© Stack Overflow or respective owner