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

From CDOT Wiki
Jump to: navigation, search
(Browser Compatibility)
(Browser Compatibility)
Line 35: Line 35:
  
 
== Browser Compatibility ==
 
== Browser Compatibility ==
See [[Notes]]
+
See [[#Notes|Notes]]
  
 
== See Also ==
 
== See Also ==

Revision as of 18:05, 13 December 2006

Summary

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

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

Syntax

TARGET_ELEMENT{border-bottom-style: value;}

Legal Values

  • none Defines 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-bottom-style: none;}

table{border-bottom-style: dashed;}

table{border-bottom-style: solid;}

Notes

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

Specification Conformance

Browser Compatibility

See Notes

See Also

  • border-bottom-width
  • border-bottom-color
  • border-top-style