Re-setting CSS code for form buttons

Posted by WebDevHobo on Stack Overflow See other posts from Stack Overflow or by WebDevHobo
Published on 2010-03-22T04:40:23Z Indexed on 2010/03/22 4:41 UTC
Read the original article Hit count: 544

Filed under:
|
|

I used a CSS reset to reset some commonly-used items. The code is this:

html, body, div, h1, h2, h3, h4, ul, ol, li, form, input, fieldset, textarea {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
}
ul {list-style: none outside none;}
img, fieldset {border: 0;}
h1, h2, h3, h4 {font-weight: normal;}
em {font-style: italic;}
strong {font-weight: bold;}

I know there's YUI and Meyer's reset, but I use this one.

Now, the problem I'm experiencing is that I can't get the submit buttons to look normally again. I could ofcourse remove the input from the list and be done with it, but I'd like to know how to get it back, since I might need that in the future.

© Stack Overflow or respective owner

Related posts about css

Related posts about forms