The absolute
positioning capability of AP elements remedied this deficiency. Now online designers have a more precise
and familiar system of alignment: the ruler. Dreamweaver??™s ruler can be displayed in several different measurement
units and with your choice of origin point.
TIP TIP
TIP TIP
383
Working with Divs and AP Elements 11
To toggle the ruler in Dreamweaver, choose View ??? Rulers ??? Show or use the keyboard shortcut
Ctrl+Alt+R (Command+Option+R). Horizontal and vertical rulers appear along the top and the left sides of
the Document window, as shown in Figure 11-15. As you move the pointer, a light-gray line indicates the
position on both rulers.
FIGURE 11-15
Use the horizontal and vertical rulers to assist your AP element placement and overall Web page layout.
By default, the ruler uses pixels as its measurement system. You can change the default by choosing View ???
Rulers and selecting either inches or centimeters.
Dreamweaver also enables you to move the ruler origin to a new position. Normally, the upper-left corner of
the page acts as the origin point for the ruler. On some occasions, it??™s helpful to start the measurement at a
different location??”at the bottom-right edge of an advertisement, for example. To move the origin point,
select the intersection of the horizontal and vertical rulers and drag the crosshairs to a new location.
Pages:
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761