开发者

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

开发者 https://www.devze.com 2023-01-29 14:41 出处:网络
I\'m styling my form buttons like this: /* CSS RESET */ * { margin: 0; padding: 0; } ... form input.button {

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:

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

What is the easiest way to make buttons look exa开发者_如何学运维ctly the same in all browsers?


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).


Check out Formalize.

0

精彩评论

暂无评论...
验证码 换一张
取 消