Changes

Jump to: navigation, search

CSS GUIDE BORDER-LEFT-COLOR

1,208 bytes added, 17:30, 13 December 2006
no edit summary
== Summary ==
This property is used to set the color of a given elements left border.<br />
*Inherited: No
*Percentages: N/A
*Media: visual
== Syntax ==
<pre>TARGET_ELEMENT{border-left-color: value;}</pre> 
== Legal Values ==
Values can be entered in 3 ways:
 
<table border="0" border-color="#FFFFFF">
<tr>
<th>Method</th><th>Range</th><th>Example</th>
</tr>
<tr>
<td>Hexadecimal (preferred)</td><td>#000000 - #ffffff</td><td>#00ff00 is green</td>
</tr>
<tr>
<td>Color name</td><td>[http://www.w3schools.com/html/html_colornames.asp W3Schools Natural Langauge Color Names]</td><td>green</td>
</tr>
<tr>
<td>RGB value</td><td>0-255</td><td>rgb(102,204,102) is green</td>
</tr>
</table>
 
transparent - The border is transparent.
 
See [[#Usage Examples | usage examples]] section for more details.
== Mozilla Recommended Values ==
== Usage Examples ==
<pre>table{border-left-color: #ff3366;}</pre>
<pre>table{border-left-color: rgb(255,0,0);}</pre>
== Notes ==
When using the transparent keyword as a value the border is transparent though it may still have width.
== Specification Conformance ==
[http://www.w3.org/TR/CSS21/box.html#propdef-border-left-color CSS 2.1]
== Browser Compatibility ==
== See Also ==
*[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-WIDTH border-left-width]
1
edit

Navigation menu