ptg16476052
Aligning Your Table Content 263
10
Table Alignment
By default, tables are displayed on a line by themselves along the left side of the page,
with any text above or below the table. However, you can use the float style property
to float tables along the left or right margins and wrap text alongside them the same way
you can with images.
float: left; aligns the table along the left margin, and all text following that table is
wrapped in the space between that table and the right side of the page. float: right;
does the same thing, with the table aligned to the right side of the page.
In the example shown in Figure 10.16, a table that spans 70% of the width of the page is
aligned to the left with the following code: