August 1999
Intermediate to advanced
1488 pages
72h 53m
English
document.ids.idName.clearThe clear property specifies the sides of an element where floating elements (elements that define the align property) are not allowed. Using dot notation, this property is associated with the ID called idName.
The clear property can be assigned one of the following values: left, right, both, and none.
Listing 7.114 uses the clear property to prevent floating elements from being on either side.
<html> <script> <!-- Hide //Create a style sheet classes and id that set alignments document.classes.LEFT.all.align = "left"; document.classes.LEFT.all.backgroundColor = "yellow"; document.classes.RIGHT.all.align ... |
Read now
Unlock full access