Table styles define the formatting of the table itself – the table width and width mode, borders and border style, background colors and so on. They do not define the formatting of the text inside the tables – that must be formatted with styles or the manual formatting tools.
You can control the alignment of a table by applying a style to the paragraph containing the table – for example to center a fixed-width table or to indent the left and right sides of the table from the margins of the page. Only the paragraph attributes will have an effect, text attributes will be ignored.
1.Click on in to display paragraph marks (this makes it easier to see what you are doing).
2.Click to the right of the table between the table and its paragraph mark so that you can see the blinking editing cursor between the right margin of the table and the paragraph mark.
3.Select the style you want to apply in the drop-down style list in the Toolbar.
If you select all or part of a table and apply text or paragraph styles the styles will be applied to the text in the selected cells inside the table.
•Select text and paragraphs in the table cells and apply styles just as you would in the normal editor. You can also apply styles to multiple paragraphs in multiple cells by selecting the cells and then applying the style.
Note that if you want to apply a style to all the paragraphs in a table you must select the entire table by clicking and dragging inside the table. If you click in the left margin to select the table you will not be able to apply styles because then the table is selected and not its contents.
1.Click in the table you want to format.
2.Select Properties in the tab and then select the table style you want to use and click on OK.
See Working with Tables > Table styles for full details.
1.Select Styles > Edit Styles in the tab.
2.Click in the Table Styles section at the top, then select Add Style.
3.Enter a name for the style in the Style Name: field.
4.If you want to base the style on another style select the parent style in the Based on Style: field.
5.Click on Modify Layout to define the attributes of the style. The settings are just the same as the normal table settings, although there are a couple of table settings that cannot be included in table styles.
When you publish to HTML-based output formats the name of the table style is also the class attribute of the table. For example, if the table style is called demotable it will contain a class attribute like this:
<table class="demotable" ...
You can use this knowledge to change the formatting of tables with your own additional CSS code in your HTML templates, attaching your rules to the class names.
Giving a table multiple class names
Help+Manual will also allow you to create table styles containing spaces. For example, suppose you create two otherwise identical table styles called "demotable normal" and "demotable highlight". The result in the HTML code would be:
<table class="demotable normal" ...
<table class="demotable highlight" ...
This effectively gives the tables two classes, which is allowed in CSS. You can then write individual CSS rules for the "normal" and "highlight" classes to be applied to different groups of tables in your output that otherwise have identical formattig.
Table Properties (Reference)
How table sizing works (Reference)
Text Formatting and Styles