Difference between revisions of "CSS GUIDE BORDER-RIGHT-STYLE"

From CDOT Wiki
Jump to: navigation, search
 
(Legal Values)
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:
  
 
== Legal Values ==
 
== Legal Values ==
*none Defines no border  
+
*none - no border  
 
*hidden  - same as "none", except in border conflict resolution for table elements  
 
*hidden  - same as "none", except in border conflict resolution for table elements  
 
*dotted - dotted border.  
 
*dotted - dotted border.  
Line 39: Line 39:
  
 
== See Also ==
 
== See Also ==
*[http://zenit.senecac.on.ca/wiki/index.php/CSS_GUIDE_BORDER-right-WIDTH border-right-width]
+
*[http://zenit.senecac.on.ca/wiki/index.php/CSS_GUIDE_BORDER-RIGHT-WIDTH border-right-width]
*[http://zenit.senecac.on.ca/wiki/index.php/CSS_GUIDE_BORDER-right-COLOR border-right-color]
+
*[http://zenit.senecac.on.ca/wiki/index.php/CSS_GUIDE_BORDER-RIGHT-COLOR border-right-color]
*[http://zenit.senecac.on.ca/wiki/index.php/CSS_GUIDE_BORDER-left-STYLE border-left-style]
+
*[http://zenit.senecac.on.ca/wiki/index.php/CSS_GUIDE_BORDER-LEFT-STYLE border-left-style]

Latest revision as of 18:28, 13 December 2006

Summary

This property allows you to set the style of an element's right border.

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

Syntax

TARGET_ELEMENT{border-right-style: value;}

Legal Values

  • none - no border
  • hidden - same as "none", except in border conflict resolution for table elements
  • dotted - dotted border.
  • dashed - dashed border.
  • solid - solid border
  • double - Specifies two borders. The width of the two borders are the same as the border-width value
  • groove - 3D grooved border. The effect depends on the border-color value
  • ridge - 3D ridged border. The effect depends on the border-color value
  • inset - 3D inset border. The effect depends on the border-color value
  • outset - 3D outset border. The effect depends on the border-color value

Mozilla Recommended Values

Usage Examples

table{border-right-style: none;}

table{border-right-style: dashed;}

table{border-right-style: solid;}

Notes

There are some rendering issues where dotted as well as dashed renders as solid in most browsers.

Specification Conformance

CSS 2.1

Browser Compatibility

See Notes

See Also