CSS Padding Issue w/ submit button

Posted by Thomas on Stack Overflow See other posts from Stack Overflow or by Thomas
Published on 2010-06-17T12:56:56Z Indexed on 2010/06/17 13:03 UTC
Read the original article Hit count: 343

Filed under:
|
|

This is a dumb problem but I can't seem to set the padding on a submit button properly. No matter what I input for padding, the width and height of the button never changes. Here is the css:

.green_submit {
color: #fff;
background-color: #94c909;
border-right: 1px solid #6d9307;
border-bottom: 1px solid #6d9307;
border-left: none;
border-top: none;
padding: 25px;
}

And the HTML:

<input type="submit" class='green_submit' value="Validate" />

Any obvious problems here? How can I manipulate the padding on a submit button?

© Stack Overflow or respective owner

Related posts about html

Related posts about css