Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I make input buttons look exactly the same in all browsers?

I'm styling my form buttons like this:

/* CSS RESET */
* { margin: 0; padding: 0; }
...
form input.button {
    padding: 2px;
}
...
<input class="button" name="submit" type="submit" value="Login" />

But they look like this:

alt text

What is the easiest way to make buttons look exactly the same in all browsers?

like image 857
Edward Tanguay Avatar asked Dec 10 '10 01:12

Edward Tanguay


2 Answers

What is the easiest way to make buttons look exactly the same in all browsers?

Use an image.

I don't think you will get it exactly the same cross browser otherwise. You could get close with CSS, but you will be spending a bit of time and frustration (a CSS reset could make this a bit easier).

like image 134
alex Avatar answered Oct 19 '22 12:10

alex


Check out Formalize.

like image 31
simshaun Avatar answered Oct 19 '22 13:10

simshaun