August 1999
Intermediate to advanced
1488 pages
72h 53m
English
document.tags.tagName.marginBottom
The marginBottom property specifies the distance between the bottom border of an element and the top border of another element. Dot notation is used to associate this property with the tag called tagName.
Listing 7.181 uses the marginBottom property to set the distance between adjacent elements.
<html> <script> <!-- Hide //Create a style sheet class and id that define bottom margin document.tags.B.borderWidths(10); document.tags.B.marginBottom = 40; //Hide End ---> </script> My margins are set automatically<br> <b>I have a large bottom margin!</b> My margins ... |
Read now
Unlock full access