Tables
The table type used in Paligo is very similar to an HTML table. You can have a table with or without a title (caption
). Without a title the element is called informaltable
.
Table attributes
For the most part you do not have to set table attributes manually in the Element attributes widget, as you can do it in the wizard when creating the table, or right-click on the table and open the table properties. But when you do need to add or modify attributes, these are the most common you should know about:
-
frame
: Used to indicate whether there should be a border around the entire table. The most common values are "void" means no border, and "border", which means border on all sides. -
rules
: Used to indicate whether there should be borders between rows and columns. The most common values are "none" or "all". -
tabstyle
: Can be used to create several different table themes. Note that this requires a customization of your stylesheets.
See Also
For full descriptions of these elements, see table, informaltable.
<table width="100%"> <caption>A table</caption> <thead> <tr> <th colspan="2"> <para>Header spanning both columns</para> </th> </tr> </thead> <tbody> <tr> <td> <para>First cell</para> </td> <td> <para>Second cell</para> </td> </tr> </tbody> </table>