Open main menu

CDOT Wiki β

CSS GUIDE BORDER-TOP-WIDTH

Revision as of 17:49, 13 December 2006 by Sherman (talk | contribs) (See Also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Summary

This property is used to set the width of an element's top border.

  • Initial: medium
  • Applies to: all elements
  • Inherited: no
  • Percentages: N/A
  • Media: visual

Syntax

TARGET_ELEMENT{border-top-width: value;}

Legal Values

  • thin - thin top border
  • medium - medium top border
  • thick - thick top border
  • length - define the thickness of the top border

Mozilla Recommended Values

Usage Examples

table{border-top-width: medium;}
table{border-top-width: 0.5px;}
table{border-top-width: thin;}

Notes

Specification Conformance

Browser Compatibility

See Also