A table stylesheet lets you create a look that can be applied to several tables throughout your project. If you need to change the look of general topic content, you can use a regular stylesheet instead. In fact, a regular stylesheet is another way to control the look of tables.
You might use two different types of tables in your project—a basic one (with simple borders and no shading) and a patterned one (with customized borders and colored shading in certain rows and columns). So you create one table stylesheet (let's say it's called "Basic.css") and format it the way you want, and then you create a second table stylesheet (let's say it's called "RowPatternStyleSheet.css") and format it. Then, as you insert tables into your topics, you can associate the new table with one of these two table stylesheets.
If you are using a right-to-left (RTL) language, table styles in your project need to write additional CSS rules behind the scenes in order to work correctly with RTL tables. Because this can potentially double the size of the table style file, this behavior does not happen by default if you create and save a new table style.
Following are the primary steps when working with table stylesheets:
- Create a New Table Stylesheet You can add a stylesheet to be used specifically for tables.
See Creating New Table Stylesheets.
- Edit After you create a new table stylesheet, you can edit it.
See Editing Table Stylesheets.
- Apply a Table Stylesheet to a Table After you edit a table stylesheet, you can apply the stylesheet to a table.
See Applying Table Stylesheets to Tables.