Defines the properties for a form.
Browser/User Agent Support
| IE | Netscape | Mozilla | Opera | Safari |
|---|---|---|---|---|
| 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+ |
Example
This example places a border around all form elements and sets the default font for any text in a form:
form {
border-color: navy;
border-style: double;
border-width: thin;
font-family:"Times New Roman", Times, serif;
}
Remarks
You can also use divs and tables to help style your forms.


