Difference between revisions of "CSS GUIDE BORDER-TOP-WIDTH"

From CDOT Wiki
Jump to: navigation, search
 
(See Also)
 
Line 32: Line 32:
  
 
== See Also ==
 
== See Also ==
*[http://zenit.senecac.on.ca/wiki/index.php/CSS_GUIDE_BORDER-top-STYLE border-top-style]
+
*[http://zenit.senecac.on.ca/wiki/index.php/CSS_GUIDE_BORDER-TOP-STYLE border-top-style]
*[http://zenit.senecac.on.ca/wiki/index.php/CSS_GUIDE_BORDER-top-COLOR border-top-color]
+
*[http://zenit.senecac.on.ca/wiki/index.php/CSS_GUIDE_BORDER-TOP-COLOR border-top-color]
 
*[http://zenit.senecac.on.ca/wiki/index.php/CSS_GUIDE_BORDER-TOP-WIDTH border-top-width]
 
*[http://zenit.senecac.on.ca/wiki/index.php/CSS_GUIDE_BORDER-TOP-WIDTH border-top-width]

Latest revision as of 18:49, 13 December 2006

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

CSS 2.1

Browser Compatibility

See Also