August 1999
Intermediate to advanced
1488 pages
72h 53m
English
document.classes.className.tagName.marginLeft
The marginLeft property specifies the distance between the left border of an element and the right 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.80 uses marginLeft property to set the distance between adjacent elements. Notice the distance between the border and the right edge of the browser window.
<html> <script> <!-- Hide //Create a style sheet class that defines left margin document.classes.FORMAT1.all.borderWidths(10); ... |
Read now
Unlock full access