You can use the
Insert Table action
on the toolbar or from the contextual menu to add a table in an XHTML document. This action
opens the Insert Table dialog box.
@width
attribute). You can choose one of the following properties for the column width:@width attribute (in a <col> element) with the
values listed as the number of shares followed by an asterisk. The value of the
shares is totaled and rendered as a percent. For example, width="1* 2*
3*" causes widths of 16.7%, 33.3%, and 66.7%. When entering content into
a cell in one column, the width proportions of the other columns are maintained. If
you change the width by dragging a column in Author mode, the
values of the @width attribute are automatically changed
accordingly. By default, when you insert, drag and drop, or copy/paste a column, the
value of the @width attribute is 1*.pt unit is inserted, but you can change the units in the
section above the table or in Text mode. In addition to the
standard pixel, percentage, and relative values, this attribute also allows the
special form “0*” (zero asterisk), which means that the width of each column in the
group should be the minimum width necessary to hold the contents. @frame attribute. It is used to
specify where a border should appear in the table. There are a variety of allowed
values, as specified in HTML specifications.@align
attribute). The allowed values are:@char attribute for alignment.When you click Insert, an HTML style of table is inserted into your XHTML document at the current cursor position.
When you insert an HTML table, you see a link for setting the <colspecs>
(column specifications) of your table. Click the link to open the controls that allow you to
adjust various column properties. Although they appear as part of the Author mode, the
colspecs link and its controls will not appear in your output. They are
just there to make it easier to adjust how the columns of your table are formatted.
You can edit the structure of an existing table using the table buttons on the toolbar (or in the contextual menu) to add or remove cells, rows, or columns, and to set basic table properties. Additional attributes can be used to fine-tune the formatting of your tables by using the Attributes view (). Also, remember that underneath the visual representation, the table is really just XML. If necessary, you can edit the XML directly by switching to Text mode.