Sizing tables – Apple WebObjects 3.5 Tools And Techniques User Manual

Page 45

Advertising
background image

Working With Tables

45

Split a selected cell horizontally by clicking

or vertically by clicking

.

Merge a group of selected contiguous cells into a single cell by clicking

.

Note:

This command isn’t enabled unless the selected cells make up

a group that could logically be merged into one cell.

Wrap an abstract dynamic element (conditional or repetition) around a
selected row or cell (see “Repetitions”) by clicking dynamic element’s
icon in the toolbar.

In content editing mode, you can:

Type text in the cell.

Add another element inside a cell (by clicking its toolbar icon or using
a menu command).

In either mode, you can press Tab to move to the next cell to the right (or
the first cell of the next row if in the rightmost column). Pressing Shift-Tab
moves in the opposite direction through the table.

A special case arises when you have embedded a table within a table cell.
In this case:

To edit text in a cell in the embedded table, just click in the cell.

To select the embedded table or one of its elements, first click in the
cell surrounding the embedded table, and then Control-click the
embedded table to select it.

Sizing Tables

By default, the size of a table is determined by the contents of the table’s
cells. If you type text (or insert other elements) inside a table cell, the cell’s
width expands as necessary to fit the data. The width of any column,
therefore, will be that of the widest cell in the column.

Note:

In WebObjects

Builder, a cell does not resize until you have completed editing the cell and
tabbed to another cell or moved out of the table.

If you want to set the size of a table or cell explicitly, use the Inspector:

To set the width or height of a table, select the table and use the Table
Inspector. You can enter values that correspond to HTML attributes
controlling the size of the table.

Advertising