August 1999
Intermediate to advanced
1488 pages
72h 53m
English
document.classes.className.tagName.borderTopWidth
The borderTopWidth property specifies the width of the top border of an element as associated with the class called className. The definition can also specify a tag or the word all for tagName.
Listing 7.68 uses the borderTopWidth property to set the size of the top border that surrounds a text header. Notice that only the top portion of the border is shown.
<html> <script> <!-- Hide //Create a style sheet class that creates a top border document.classes.BTW.all.borderTopWidth = "10"; //Hide End ---> </script> <h2 class=BTW>This ... |
Read now
Unlock full access