This chapter explains how you can give a background color to
table cells by adding a bgcolor(color) directive to the
@outputclass
attribute of most table elements.
@outputclass
attribute of the
following elements:<simpletable>
element<simpletable>
,
<sthead>
, <strow>
,
<stentry>
.<table>
element<tgroup>
, <thead>
,
<tbody>
, <row>
,
<entry>
.<table> <tgroup cols="2" outputclass="bgcolor(#F0FFFF)"> <tbody> <row> <entry>C1,1</entry> <entry>C1,2</entry> </row> <row outputclass="bgcolor(#FFFFF0)"> <entry>C2,1</entry> <entry>C2,2</entry> </row> </tbody> </tgroup> </table>
@outputclass
attribute of a table element. Example:
<simpletable outputclass="bgcolor(#FFFFF0)
fancy-table">
.