You can modify the look and feel of multiple tables at once by editing standard HTML table tags (e.g., <table>, <th>, <td>, <tr>) in your topic style sheet. For example, you might use these styles in order to control the look of the text that appears in your table headings (<th> style) or within the cells (<td> style).
How to edit table styles in a topic style sheet
Open the topic style sheet that you want to modify.
Complete one of the following sets of steps, depending on whether you want to use the Simplified view or Advanced view in the Stylesheet Editor.
Warning: When editing styles, make sure the proper medium is selected in the Stylesheet Editor before you begin (you can do this from the Medium drop-down list). Flare remembers the last medium that you used when working in the style sheet, so it may or may not be the one that you want to use the next time around. If you want all mediums to use the same setting, select the "default" medium and the properties will "trickle down" to the other mediums. If you are not using different mediums, you do not need to worry about selecting one when you edit styles.
If using the Simplified view:
(which means that the Simplified view is currently shown in the editor). If the button displays
instead, then click it.
and select Show Table Styles.td This tag lets you modify the data (or content) in the primary cells of a table.
When you press Enter after the first paragraph in a table cell, a paragraph <p> tag is added inside each <td> tag in that cell.
th This tag lets you modify the header content in a table. Why not just use the <td> tag for header content as well? First, by having different tags, you can more easily dictate one look for the header text (e.g., bold font) and a different look for the main content in the table (e.g., normal font). Second, using separate tags greatly assists users with visual disabilities, making it possible for multi-modal wireless browsers with limited display capabilities (e.g., Web-enabled pagers and phones) to handle tables.
When you press Enter after the first paragraph in a table cell, a paragraph <p> tag is added inside each <th> tag in that cell.
For more about each of these tags, please refer to http://www.w3c.org.
In the local toolbar of the editor, click
. The Properties dialog opens.
Use the fields on the various tabs to modify the settings for the style. The tabs included in the dialog depend on the type of style that you have selected.
Most tabs are the same as those used for regular paragraph formatting. For details about using the features on these tabs, see About Paragraph Formatting.
For the <td> and <th> styles, you also have access to the Text tab, which lets you set the alignment (top, middle, bottom), first-line indentation, and line height for the content in the cells.
If using the Advanced view:
(which means that the Advanced view is currently shown in the editor). If the button displays
instead, then click it.
and select Show Table Styles.td This tag lets you modify the data (or content) in the primary cells of a table.
When you press Enter after the first paragraph in a table cell, a paragraph <p> tag is added inside each <td> tag in that cell.
th This tag lets you modify the header content in a table. Why not just use the <td> tag for header content as well? First, by having different tags, you can more easily dictate one look for the header text (e.g., bold font) and a different look for the main content in the table (e.g., normal font). Second, using separate tags greatly assists users with visual disabilities, making it possible for multi-modal wireless browsers with limited display capabilities (e.g., Web-enabled pagers and phones) to handle tables.
When you press Enter after the first paragraph in a table cell, a paragraph <p> tag is added inside each <th> tag in that cell.
For more about each of these tags, please refer to http://www.w3c.org.
on the upper-right side of the editor, select Show: Assorted Relevant Properties. The most relevant properties for that style are shown on the right side of the editor.In the Properties section, you can click the plus button
next to a property group (if necessary) to expand the group. Click in the field to the right of a property to change its setting.
Most of the relevant properties are the same as those used for regular paragraph formatting. For details and steps for setting those properties, see About Paragraph Formatting.
For the <td> and <th> styles, you also might want to adjust the vertical alignment of text (e.g., top, middle, bottom). You can do this by expanding the Cell property group and setting the vertical-align property.
to save your work.Note: When you insert a table, it is set up by default to use standard table tags in the individual cells (e.g., <th> for table headers, <td> for regular table text). However, if you press Enter at the end of a line, a <p> tag is added within the standard tag. Therefore, in order to keep all of the content in your table cells looking consistent, you may want to create a special style class of the <p> tag to be used for table content (e.g., p.tabletext) and apply that style to all of your cells when you first create a table. You can apply specific styles to tables by selecting the table cells, clicking Table>Cell Content Style, and choosing the style to be used for those cells. See Selecting Styles for Table Cell Contents.
Note: In addition to using styles in a topic style sheet, you can also use custom table style sheets to modify the look and feel of multiple tables at once. These table style sheets let you easily and quickly create patterns and different looks for tables. See How to edit styles in a table style sheet.