The stylesheet c3-epubwebtables.xsl has features
and instructions to set up some styles for formal tables (which have a title) and informal
tables (which do not have a title) for EPUB and web pages. The features for tables that can
be set in the stylesheet are:
The following diagram shows the HTML markup that is generated for formal tables.
This helps you to set styles for particular parts of tables using elements, attributes and
classes in CSS. The nesting of HTML elements and attributes is shown as different coloured
XML markup to edit
Alternating row colour (striped tables). To
create individual tables with a colour for every second row, there are two options to add
the attribute "tabstyle" to the <table> element:
alternating row colour for tables with numbers—use <table tabstyle="numberstripe"> (set this at c3-60)
alternating row colour for tables with text—use <table tabstyle="stripe"> (set this at c3-65).