HTML and CSS Reference
In-Depth Information
border-top-style
This property defines the style for the top border of an element.
Syntax
border-top-style: dashed | dotted | double | groove | hidden | inset |
inherit | none | outset | ridge | solid
Example
#box {border-width: 10px; border-style: solid; border-top-style: dashed;}
Compatibility
CSS 2, 3
IE 4+
Netscape 6+, Firefox 1+
Opera 7+, Safari 1+
border-top-width
This property sets the width of an element's top border.
Syntax
border-top-width: non-negative length | medium | thick | thin | inherit
Examples
p {border-top-width: thin;}
#thicktop {border-top-width: 25px;}
Compatibility
CSS 1, 2, 3 IE 4, 5 (buggy), 5.5+ Netscape 4 (buggy), 6+, Firefox 1+ Opera 4+, Safari 1+
border-width
This property sets the width of an element's complete border.
Syntax
border-width: width [ width width width ]
where width is
non-negative length | medium | thick | thin | inherit
Search WWH ::




Custom Search