Border-top-width

From Htmlpedia
Jump to: navigation, search

CSS 1 property: border-top-width

See also border-width

Property Values

This property accepts the following values:

  • thin
  • medium
  • thick
  • length (i.e. 3px)

Example

Good
<style type="text/css">
     element { border-top-width: value; }
</style>
...
<element attribute="foo">Contents</element>

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.


References