For this reason alone, if you want to keep Netscape support, it is advisable to use
tags
over
tags for positioned elements.
n Visible (Default): All the overflowing text or image is displayed, and the height and width settings
established for the AP element are ignored.
n Hidden: The portion of the text or graphic that overflows the dimensions is not visible.
n Scroll: Horizontal and vertical scroll bars are added to the AP element regardless of the content
size or amount, and regardless of the AP element??™s measurements.
n Auto: When the content of the AP element exceeds the width and/or height values, horizontal
and vertical scroll bars appear.
Currently, support for the overflow attribute is spotty at best. Dreamweaver doesn??™t display the result in
the Document window; it must be previewed in a browser to be seen. Navigator offers limited support:
Only the attribute??™s hidden value works correctly, and just for text. Only Internet Explorer 4.0 or later and
Netscape 6 render the overflow attribute correctly, as shown in Figure 11-13.
FIGURE 11-13
When your contents are larger than the dimensions of your AP element, you can regulate the results with the overflow
attribute.
Clipping
If you??™re familiar with the process of cropping an image, you??™ll quickly grasp the concept of clipping AP elements.
Pages:
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752