Web Analytics Made Easy -
StatCounter global form styles - CodingForum

Announcement

Collapse
No announcement yet.

global form styles

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • global form styles

    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

  • #2
    select{
    font-family : serif;
    }
    input{
    font-family : serif;
    }
    does this sig match?

    Comment


    • #3
      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.
      -Sk8er9547

      Comment

      Working...
      X