Specifying Table Alignment


When you have a table and text together, you can set the alignment of the table, in some cases wrapping the text around the table ( Figure 9.27 ). You can choose from four different alignments:

  • Default uses the browser default alignment for tables (usually it places the table to the left side of the page). This setting prevents text from wrapping around the table to the right.

  • Left places the table to the left side of the page, and allows text to wrap around the right side of the table.

  • Center centers the table on the page, with no text wrapping.

  • Right places the table to the right side of the page, and allows text to wrap around the left side of the table.

Figure 9.27. The effects of different types of table alignment. From top to bottom, Default, Left, Center, and Right alignments.


Use the Property Inspector to set table alignment. This applies HTML attributes to the <table> tag, which is acceptable, but not really compliant with best practices. Instead, you should specify table alignment with a CSS style. See Chapter 5 for more information.

To set table alignment:

1.
Select the table you want to align.

2.
In the Property Inspector, choose the alignment you want from the Align pop-up menu.

The table moves to the alignment you selected.




Macromedia Dreamweaver 8 for Windows & Macintosh Visual QuickStart Guide
Macromedia Dreamweaver 8 for Windows & Macintosh
ISBN: 0321350278
EAN: 2147483647
Year: 2005
Pages: 239

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net