SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 729 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"


Netscape 4 Compatibility Select this option to add code for a workaround to a known problem in Navigator 4.x
browsers, which causes AP elements to lose their positioning coordinates when the user
resizes the browser window.
371
Working with Divs and AP Elements 11
Choosing relative instead of absolute positioning
In many cases, absolute positioning uses the top-left corner of the Web page??”the position at which the
tag begins??”as the point of origin for positioning the AP elements. You can also specify measurements
relative to other objects, such as . Dreamweaver offers several methods to accomplish relative
positioning.
Using the Relative attribute
In the first method for handling relative positioning, you select Relative as the Type attribute in the Style
Sheet Positioning category. Relative positioning does not force a fixed position; instead, the positioning is
guided by the HTML tags around it. For example, you may place a list of some items within a table and set
the positioning relative to the table. You can see the effect of this sequence in Figure 11-10. Notice that
Dreamweaver does not display sizing handles or a selection handle for relative AP elements.
FIGURE 11-10
The selected AP element is positioned relative to the bottom of the table.


Pages:
717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741