HTML and CSS Reference
In-Depth Information
padding-top, padding-right, padding-bottom, padding-left
Used to specify how much space to insert between the contents of an element and its margin
or border (if they exist).
Value: <length> | <percentage>
Initial value: 0
Inherited: No
Applies to: All elements
Supported by: Firefox, Safari, Opera, Internet Explorer
border, border-top, border-right, border-bottom, border-left
Used to specify the width, color, and style of the element's borders.
Value: border-width border-style border-color
Initial value: See individual properties
Inherited: No
Applies to: All elements
Supported by: Firefox, Safari, Opera, Internet Explorer
Note Individual values are optional and may appear in any order. 1px solid black , 1em dotted , and
red are all valid border property values.
border-width
Used to specify the border's thickness.
Value: Multiple instances of <length> thin | medium | thick
Initial value: medium
Inherited: No
Applies to: All elements
Supported by: Firefox, Safari, Opera, Internet Explorer
Search WWH ::




Custom Search