August 1999
Intermediate to advanced
1488 pages
72h 53m
English
document.tags.tagName.borderLeftWidthThe borderLeftWidth property specifies the width of the left border of an element as associated with the tag called tagName.
Listing 7.167 uses the borderLeftWidth property to set the size of left border that surrounds a text header. Notice that only the left portion of the border is shown.
<html> <script> <!-- Hide //Create a style sheet tag that creates a left border document.tags.H2.borderLeftWidth = "10"; //Hide End ---> </script> <h2>This text has a left border</h2> </html> |
Read now
Unlock full access