2022.1

Table Of Contents
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 page785 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
page669) 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.
Styling a column
In HTML, column elements don't exist, only tables, rows and cells.
To make cells look like a column, make sure that they are positioned underneath each other -
insert empty cells if needed -, and then style the cells as usual.
Via the Formatting dialog
The Formatting dialog allows you to change the font, font size and color (see "Fonts" on
page823), the borders (see "Border" on page817), the margins or cell padding (the distance
Page 808