BoldUlysses
05-14-2008, 03:45 PM
Is there a way to keep the default appearance of form elements like text input fields, pulldown menus and especially "submit" buttons while overriding margins, padding and borders for the rest of the page?
Page in question (the form is below the first table): http://www.imageworksdisplay.com/tobacco/index.php
I add this to the beginning of every style sheet:
* {
margin:0px;
padding:0px;
border:0px;
}
which just gets everything and every browser (for the most part) on an even playing field. However, because the values are inherited it also wipes out the appearance of form elements. I happen to like the way the default form buttons look, among other things.
Is there a way to restore the defaults to the form by itself? I'd rather not go through the style sheet and nix the margins, padding and border on everything individually. Ideas?
THANKS!
Page in question (the form is below the first table): http://www.imageworksdisplay.com/tobacco/index.php
I add this to the beginning of every style sheet:
* {
margin:0px;
padding:0px;
border:0px;
}
which just gets everything and every browser (for the most part) on an even playing field. However, because the values are inherited it also wipes out the appearance of form elements. I happen to like the way the default form buttons look, among other things.
Is there a way to restore the defaults to the form by itself? I'd rather not go through the style sheet and nix the margins, padding and border on everything individually. Ideas?
THANKS!