Just as you can define styles for formatting text and paragraphs you can also define styles for tables. Like text and paragraph styles, table styles are dynamic. This means that when you change the style definition all tables in your project formatted with that style change automatically.
Table styles also "inherit" properties from the styles they are based on and this is also dynamic. The "child" style inherits all the properties of the "parent" style. If you change the definition of the parent style all the matching attributes in the child styles will also change. Only attributes that you have explicitly changed in the child styles will remain unchanged.
1.Select 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.
Multiple style names:
If you enter a table style name with one or more spaces in it, the table will have two or more style classes in HTML-based output, which is supported in CSS. The first class name is used by Help+Manual. You can use the additional classes in your own CSS in your HTML templates to define global style rules for only those tables with this class attribute.
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. |
The style name is exported as the class attribute of the <table> tag, which you can then reference in your own CSS for your HTML-based output formats.
If you enter a table style name with one or more spaces in it, the table will have two or more style classes in HTML-based output, which is supported in CSS. The first class name is used by Help+Manual. You can use the additional classes in your own CSS in your HTML templates to define global style rules for only those tables with this class attribute.
|
1.Click on the Table tool in the or tab and select Insert Table.
2.Enter the number of rows and columns you want the table to have.
3.Select the style in the Table Style: field.
4.Make any manual changes (settings that you want to be different from the style definitions)
5.Click on OK to insert the table.
Note that any properties settings you edit manually in a table formatted with a style will remain unchanged if you change the definition of the table style later. Only attributes controlled by the style will change when you change the style definition!
|
1.Click inside the table that you want to format.
2.Select Properties in the tab and select the style in the Table Style: field.
3.If you want to make any individual changes you can also adjust the settings directly in the Table Properties dialog before you close it.
Note that any properties settings you edit manually in a table formatted with a style will remain unchanged if you change the definition of the table style later. Only attributes controlled by the style will change when you change the style definition!
|