document.classes.borderBottomWidth
JavaScript 1.2+ Nav4+ Syntax
document.classes.className.tagName.borderBottomWidth
Description
The borderBottomWidth property specifies the width of the bottom border of an element as associated with the class called className. The definition can also specify a tag or the word all for tagName.
Example
Listing 7.63 uses the borderBottomWidth property to set the size of the bottom border that surrounds a text header. Notice that only the bottom portion of the border is shown.
Listing 7.63 Setting the Bottom Border Width with the borderBottomWidth Property
<html> <script> <!-- Hide //Create a style sheet class that creates a bottom border document.classes.BBW.all.borderBottomWidth = "10"; //Hide ... |
Get Pure JavaScript 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.