August 1999
Intermediate to advanced
1488 pages
72h 53m
English
document.ids.idName.borderLeftWidth
The borderLeftWidth property specifies the width of the left border of an element as associated with the ID called idName.
Listing 7.109 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 id that creates a left border document.ids.BLW.borderLeftWidth = "10"; //Hide End ---> </script> <h2 id=BLW>This text has a left border</h2> </html> |
Read now
Unlock full access