Jack McKalling Posted November 6, 2005 Share Posted November 6, 2005 My input elements are devided into classes like text_buttons, image_buttons, text_field.For the text buttons, I don't want the inputs have padding-width applied :)But this css: input.txtbutt { padding:0 }Does not work.Also, this won't work:input.txtbutt { padding:0 0 0 0 }Even not this:input.txtbutt { padding:0px 0px 0px 0px }In the most maniac way:input.txtbutt { padding-top:0px; padding-right:0px; padding-bottom:0px; padding-left:0px }Won't work!I am using Internet Explorer only, but that doesn't have anything to do with it, can anyone explain me how to reset the padding of a button? For all these styles the button still has padding to the left and right, only text-align:right has effect. Link to comment Share on other sites More sharing options...
Paim Posted November 8, 2005 Share Posted November 8, 2005 Are you talking about submit buttons? If so, its the font-size that affects the size of the button If not, ignore me Link to comment Share on other sites More sharing options...
Jack McKalling Posted November 8, 2005 Author Share Posted November 8, 2005 No not only Submit buttons, just all buttons :)Font-size also hasn't got to do with the padding that is bothering me ? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now