Jump to content

[CSS] input styleoption not working


Jack McKalling

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...