August 1999
Intermediate to advanced
1488 pages
72h 53m
English
document.classes.className.tagName.borderColor
The borderColor property specifies the color of the border of an element as associated with the class called className. The definition can be further defined by specifying a tag or the word all for tagName.
Listing 7.64 uses the borderColor property to set the color of the border that surrounds a text header to blue.
<html> <script> <!-- Hide //Create a style sheet class that creates a left border document.classes.ABORDER.all.borderWidths(10); document.classes.ABORDER.all.borderColor = "blue"; //Hide End ---> </script> <h2 class=Aborder=1>This ... |
Read now
Unlock full access