CSS GUIDE BORDER-RIGHT-WIDTH

From CDOT Wiki
Jump to: navigation, search

Summary

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

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

Syntax

TARGET_ELEMENT{border-right-width: value;}

Legal Values

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

Mozilla Recommended Values

Usage Examples

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

Notes

Specification Conformance

CSS 2.1

Browser Compatibility

See Also