Name
borderColor — NN n/a IE 4 DOM n/a
Synopsis
Read/Write
Color of the element’s border. Internet Explorer applies the color to all four lines that make up the interior border of a cell. Therefore, colors of adjacent cells do not collide.
Example
document.all.myTH.borderColor = "salmon"
Value
A hexadecimal triplet or plain-language color name. A setting of
empty is interpreted as "#000000"
(black). See
Appendix A for acceptable plain-language color
names.
Default
Varies with operating system.
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.