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

Joseph W. Lowery

"Dreamweaver CS3 Bible"


Working with alignment options
Just like text, images can be aligned to the left, right, or center. In fact, images have much more flexibility
than text in terms of alignment. In addition to the same horizontal alignment options, you can align your
images vertically in nine different ways. You can even turn a picture into a floating image type, enabling text
to wrap around it.
Horizontal alignment
When you change the horizontal alignment of a line??”from left to center or from center to right??”the
entire paragraph moves. Any inline images that are part of that paragraph also move. Likewise, selecting one
of a series of inline images in a row and realigning it horizontally causes all the images in the row to shift.
In Dreamweaver, the horizontal alignment of an inline image is changed in exactly the same way that you
realign text??”with the alignment buttons found on the Image Property inspector. As with text, buttons
exist for left, center, and right. Although these are very conveniently placed on the Image Property inspector,
the alignment attribute is actually written to the

or other block element enclosing the image.
The align attribute, whether attached to a

tag for horizontal alignment, or to an
tag for vertical alignment (as described in the following section), is deprecated in HTML 4.


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