Home Tutorial CSS CSS input (Input)



MSN Random Online

CSS input (Input) PDF Print E-mail
Written by Administrator   
Monday, 17 September 2007 03:10

CSS input

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.

 
 

Top Members

No top members yet.