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

From CDOT Wiki
Jump to: navigation, search
(See Also)
(See Also)
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
This property is used to set the color of a given elements bottom border.<br />
 
This property is used to set the color of a given elements bottom border.<br />
 
*Inherited: No
 
*Inherited: No
 +
*Percentages:  N/A 
 +
*Media:  visual
  
 
== Syntax ==
 
== Syntax ==
Line 23: Line 25:
 
</tr>
 
</tr>
 
</table>
 
</table>
 +
 +
transparent - The border is transparent.
  
 
See [[#Usage Examples | usage examples]] section for more details.
 
See [[#Usage Examples | usage examples]] section for more details.
Line 33: Line 37:
  
 
== Notes ==
 
== Notes ==
 +
When using the transparent keyword as a value the border is transparent though it may still have width.
  
 
== Specification Conformance  ==
 
== Specification Conformance  ==
Line 40: Line 45:
  
 
== See Also ==
 
== See Also ==
*border-bottom-style
+
*[http://zenit.senecac.on.ca/wiki/index.php/CSS_GUIDE_BORDER-BOTTOM-STYLE border-bottom-style]
*border-bottom-width
+
*[http://zenit.senecac.on.ca/wiki/index.php/CSS_GUIDE_BORDER-BOTTOM-WIDTH border-bottom-width]

Latest revision as of 18:15, 13 December 2006

Summary

This property is used to set the color of a given elements bottom border.

  • Inherited: No
  • Percentages: N/A
  • Media: visual

Syntax

TARGET_ELEMENT{border-bottom-color: value;}

Legal Values

Values can be entered in 3 ways:

MethodRangeExample
Hexadecimal (preferred)#000000 - #ffffff#00ff00 is green
Color nameW3Schools Natural Langauge Color Namesgreen
RGB value0-255rgb(102,204,102) is green

transparent - The border is transparent.

See usage examples section for more details.

Mozilla Recommended Values

Usage Examples

table{border-bottom-color: #ff3366;}
table{border-bottom-color: rgb(255,0,0);}

Notes

When using the transparent keyword as a value the border is transparent though it may still have width.

Specification Conformance

CSS 2.1

Browser Compatibility

See Also