2019.1

Table Of Contents
templates with CSS files" on page718.
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 page717 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
page612) 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.
Selecting one cell is easy: just click in it.
Tip
Use the Styles pane to see which styles apply to the currently selected table, row or cell.
Via the Formatting dialog
The Formatting dialog allows you to change the font, font size and color (see "Fonts" on
page754), the borders (see "Border" on page747), the margins or cell padding (the distance
between the edge of the cell and its content, see "Spacing" on page759), and the background
color or image of the table and its cells ("Background color and/or image" on page746).
Page 738