Specifies the width of the top border.
Platform Support
IE | Netscape | Mozilla | Opera | Safari | 4.0+ | 4.0+ | 1.0+ | 5.0+ | 1.0+ |
---|
Usage
Example values: 2px, 0.25in, thin, etc.
Values
* | Specify a border width value not on this list. |
inherit | Inherit the value from the parent element. |
thin | Thin border. |
medium | Medium border. |
thick | Thick border. |
Remarks
You can also specify a fixed pixel value for border-top-width
.
Availability
W3C CSS2