1.5

Table Of Contents
button to manually add CSS properties (at the left) and values (at the right). For
more information about CSS, see "Styling and formatting" on page453.
It is also possible to set an element's border in a style sheet; see Styling templates
with CSS files.
3.
Set the value for the padding in measure or percentage. You can do this for each side
separately, which is equivalent to the padding-top, padding-bottom, padding-left or
padding-right property in CSS. To set the same padding for all sides, check the option
Same for all sides. This is equivalent to the padding property in CSS.
4. Set the value for the margin in measure or percentage. You can do this for each side
separately, which is equivalent to the margin-top, margin-bottom, margin-left or
margin-right property in CSS. To set the same margin for all sides, check the option
Same for all sides. This is equivalent to the margin property in CSS.
5.
Click OK, or click Apply to apply the changes without closing the dialog.
Styling a table
Just as other elements, tables can be styled in two ways:
l
With local formatting. This means styling the table directly, using the Formatting dialog.
l
Via Cascading Style Sheets (CSS). In a style sheet, style rules are declared for
elements with different HTML tags, ID's and classes.
These two methods are described below. See "Styling and formatting" on page453 for
background information about these two methods.
Selecting a table, row or cell
There are several ways to select a table or row:
l
Click in the table or row. Then, in the breadcrumbs (see "Selecting an element" on
page377) click table to select the table, or tr to select the row.
l
Right-click a cell and from the shortcut menu, choose Table > Select or Row > Select.
l
Click in a cell and then use the toolbar: click the Select Table button or click the black
triangle next to that button and then click Select Table or Select Row.
Page 479