HTML table classes

Publish

Platform_KC
On Premises

The tables in published HTML outputs use table classes so they can be controlled using cascading style sheets. This applies to all tables in the output - automatically generated tables, such as the related topics groups, or the tables you create directly in the topic.

Note: Make sure you have good knowledge of style sheet properties and values before making any changes.

The following classes control specific table-types in the published output.

Automatically generated tables

<table class="relatedtopics aboveheading" - used for the related topics table when the group is placed directly above the topic text

<table class="relatedtopics belowheading" - used for the related topics table when the group is placed directly below the topic heading

<table class="relatedtopics belowtopictext" - used for the related topics table when the group is placed directly below the topic text

<table class="tabletoc" - used by "toc.htm" file that is the table of contents

<table class="tabledhtmltoc" - used for the table that lays out the dhtml table of contents

<table class="tableindexatoz" - used for the table that lays out the A to Z area of indexpage.htm for non-dhtml indexes

<table class="tableindexlinks" - used for the table in indexpage.htm that contains all the page links

User-created tables

<table class="tableintopic" - used for tables created inside a topic