HTML CSS Reference/CSS Attributes and Javascript Style Properties/border left color
"border-left-color" Example
<source lang="html4strict">
<html> <head> <style> .style1 {
border:5px solid #cccccc; border-left-color:red; font-family:verdana; font-weight:bold
} .style2 {
border:"none"; font-family:verdana; font-weight:bold
} </style> </head> <body>
Move your mouse in and out to see the style change.
</body></html>
</source>
"border-left-color" is applied to
<source lang="html4strict">
+----------------+--------------------------------------------------------------+ | Applied_To |<a> <acronym> | | | |
| ||| |<body> <button> |
| || | |
| || | |<custom>
| | |defaults | | | <dir> ||
| |
- | | |<embed> <fieldset> | | | <form> | | |<frame> <hn> | | | <img> | | |<input type="button"> <input type="checkbox"> | | |<input type="file"> <inputtype="image"> | | |<input type="password"> <input type="radio"> | | |<input type="reset"> <input type="submit"> | | |<input type="text"> | | |<isindex> | | |<label>
- | | |<listing> <marquee> | | |<menu> <nobr> | | |<object>
| | |
| | |runtimeStyle | | || | | | | || | |style | | || | |
<textarea> | | | | | | | | | <xmp> | +----------------+--------------------------------------------------------------+ </source>
"border-left-color" Syntax and Note
<source lang="html4strict"> Note: Defines the color of the left border.
Syntax:
element { border-left-color: value } elementID.style.borderLeftColor = "value" document.all.elementID.style.borderLeftColor = "value" // IE only
</source>