| 1 |
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
| 2 |
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"> |
| 3 |
<refentry id="default.table.rules"> |
| 4 |
<refmeta> |
| 5 |
<refentrytitle>default.table.rules</refentrytitle> |
| 6 |
</refmeta> |
| 7 |
<refnamediv> |
| 8 |
<refname><parameter>default.table.rules</parameter></refname> |
| 9 |
<refpurpose>The default column and row rules for tables using HTML markup</refpurpose> |
| 10 |
</refnamediv> |
| 11 |
<refsynopsisdiv> |
| 12 |
<programlisting> |
| 13 |
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" href="syn/default.table.rules.xml"/></programlisting> |
| 14 |
</refsynopsisdiv> |
| 15 |
<refsection> |
| 16 |
<title>Description</title> |
| 17 |
|
| 18 |
<para>Tables using HTML markup elements can use an attribute |
| 19 |
named <tag class="attribute">rules</tag> on the <tag>table</tag> or |
| 20 |
<tag>informaltable</tag> element |
| 21 |
to specify whether column and row border rules should be |
| 22 |
displayed. This parameter lets you specify a global default |
| 23 |
style for all HTML tables that don't otherwise have |
| 24 |
that attribute.</para> |
| 25 |
<para>These are the supported values:</para> |
| 26 |
|
| 27 |
<variablelist> |
| 28 |
<varlistentry><term>all</term> |
| 29 |
<listitem> |
| 30 |
<para>Rules will appear between all rows and columns.</para> |
| 31 |
</listitem> |
| 32 |
</varlistentry> |
| 33 |
|
| 34 |
<varlistentry><term>rows</term> |
| 35 |
<listitem> |
| 36 |
<para>Rules will appear between rows only.</para> |
| 37 |
</listitem> |
| 38 |
</varlistentry> |
| 39 |
|
| 40 |
<varlistentry><term>cols</term> |
| 41 |
<listitem> |
| 42 |
<para>Rules will appear between columns only.</para> |
| 43 |
</listitem> |
| 44 |
</varlistentry> |
| 45 |
|
| 46 |
<varlistentry><term>groups</term> |
| 47 |
<listitem> |
| 48 |
<para>Rules will appear between row groups (thead, tfoot, tbody). |
| 49 |
No support for rules between column groups yet. |
| 50 |
</para> |
| 51 |
</listitem> |
| 52 |
</varlistentry> |
| 53 |
|
| 54 |
<varlistentry><term>none</term> |
| 55 |
<listitem> |
| 56 |
<para>No rules. This is the default value. |
| 57 |
</para> |
| 58 |
</listitem> |
| 59 |
</varlistentry> |
| 60 |
|
| 61 |
</variablelist> |
| 62 |
|
| 63 |
<para>The border after the last row and the border after |
| 64 |
the last column are not affected by |
| 65 |
this setting. Those borders are controlled by |
| 66 |
the <tag class="attribute">frame</tag> attribute on the table element. |
| 67 |
</para> |
| 68 |
|
| 69 |
</refsection> |
| 70 |
</refentry> |