From Htmlpedia
Contents |
[edit]
CSS 1 property: border-top-width
See also border-width
[edit]
Property Values
This property accepts the following values:
- thin
- medium
- thick
- length (i.e. 3px)
[edit]
Example
![]() | <style type="text/css">
element { border-top-width: value; }
</style>
...
<element attribute="foo">Contents</element> |
[edit]
Browser Support
This property is fully supported by all modern visual browsers. The only quirk is that IE6 and IE7 get the box model wrong, and don't add the width of the border to the height of the element. The default value is 'medium', but different browsers give different length values for the key terms of thin, medium and thick.
[edit]
References
- W3C Specification: CSS Specification Level 1
- HTMLpedia: List of CSS Properties
- Grid of CSS property/value browser support by Estelle Weyl

