August 1999
Intermediate to advanced
1488 pages
72h 53m
English
document.classes.className.tagName.marginTop
The marginTop property specifies the distance between the top border of an element and the bottom border of another element. Dot notation is used to associate this property with the class called className. The definition can also specify a tag or the word all for tagName.
Listing 7.83 uses marginTop property to set the distance between adjacent elements.
<html> <script> <!-- Hide //Create a style sheet class that defines top margin document.classes.FORMAT.all.borderWidths(10); document.classes.FORMAT.all.marginTop = 40; //Hide End ---> </script> <b>My ... |
Read now
Unlock full access