Defines the properties for an input field on a form.
Browser/User Agent Support
| IE | Netscape | Mozilla | Opera | Safari |
|---|---|---|---|---|
| 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+ |
Example
This example adds a border and padding around all input elements:
input {
border-color: black;
border-style: solid;
border-width: thin;
padding: 3px;
}
Remarks
You will usually use classes and id's to style individual input elements, rather than styling all input elements at once.


