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 651 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"

0.
Instead of using the align attribute, you can use Cascading Style Sheets, described in Chapter 7.
Vertical alignment
Because you can place text next to an image??”and images vary so greatly in size??”HTML includes a
variety of options for specifying just how image and text line up. As you can see from the chart shown in
Figure 9-14, a wide range of possibilities is available.
NOTE NOTE
TIP TIP
NOTE NOTE
321
Inserting Images 9
FIGURE 9-14
You can align text and images in one of nine different ways.
To change the vertical alignment of any graphic in Dreamweaver, open the Align drop-down list in the
Image Property inspector and choose one of the options. Dreamweaver writes your choice into the align
attribute of the tag. The various vertical alignment options are listed in Table 9-1, and you can refer
to Figure 9-14 for examples of each type of alignment.
TABLE 9-1
Vertical Alignment Options
Option Result
Browser Default No alignment attribute is included in the tag. Most browsers use the baseline as
the alignment default.
Baseline The bottom of the image is aligned with the baseline of the surrounding text.
Top The top of the image is aligned with the top of the tallest object in the current line.
Middle The middle of the image is aligned with the baseline of the current line.


Pages:
639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663