View Full Version : global form styles
QuackHead
07-12-2002, 08:08 PM
Is there a way to style all elements of forms (such as all buttons, text fields, etc.) globaly? (Without declaring a class in the tag <input type=text class=whatever>)
Kinda the same way that links are declared for a page...
anyone?
~Quack
allida77
07-12-2002, 09:07 PM
select{
font-family : serif;
}
input{
font-family : serif;
}
Sk8er9547
07-15-2002, 05:14 AM
taking out the "." in your CSS coding will make anything in your pages do what you want them to. Look at the following examples:
TD {font-weight: bold} <-- this will make any text inside a TD tag bold.
BODY {bgcolor: #000000} <-- this will cause the background of every page to be black.
other tags and instances can work too, just try them out and match them to your specifications.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.