[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] html table, create wrapper div with class
Usually you can control the class attributes in HTML output by creating custom templates in mode="class.value" for each element, as described here:  http://www.sagehill.net/docbookxsl/HtmlCustomEx.html#CustomClassValues Tables are a bit funny, it seems, because of the multiple wrapper layers that are added for things like landscape. HTML source tables also differ by copying through the class attribute on the source table to the output table. When I use this template on a captioned source table with class="tabular": <xsl:template match="d:table" mode="class.value"> I get this result: <div class="tabular-wrapper"> If you need further control, you'll have to customize some of the
internal table templates. Bob Stayton bobs@sagehill.net On 8/29/2019 6:27 AM, Tim Arnold wrote:
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]