Difference between revisions of "CSS GUIDE BORDER RIGHT"

From CDOT Wiki
Jump to: navigation, search
(Usage Examples)
(Usage Examples)
Line 14: Line 14:
  
 
== Usage Examples ==
 
== Usage Examples ==
table {border-right: thick #FFFFFF;}
+
<pre>table {border-right: thick #FFFFFF;}
sets the right border-width to be thick and the border-color to be white
+
sets the right border-width to be thick and the border-color to be white.</pre>
  
 
<pre>table {border-right: thin dotted #000000;}
 
<pre>table {border-right: thin dotted #000000;}

Revision as of 04:46, 12 December 2006

Summary

This property is a shorthand property for setting the border-right-width, border-style and the border-color in a single declaration.

  • Inherited: No

Syntax

TARGET_ELEMENT {border-right: border-width border-style border-color;}

Legal Values

  • border-width - thin | thick
  • border-style - dotted
  • border-color - #000000 - #FFFFFF

Mozilla Recommended Values

Usage Examples

table {border-right: thick #FFFFFF;}
sets the right border-width to be thick and the border-color to be white.
table {border-right: thin dotted #000000;}
sets the right border-width to be thin, border-style is set to dotted and the border-color
is set to black.

Notes

Specification Conformance

Browser Compatibility

See Also