docbook-apps

  • 1.  XSLT/CSS border style specifications

    Posted 07-18-2012 08:37
    How does one control the specifications for the various border styles
    for tables, etc. I know how to select the line styles - solid, dashed,
    double, groove, etc - but can the specific metrics for each of these be
    defined? I want to modify the line widths and spacing between lines for
    the 'double' style. (I can specify the overall width of line, but is
    there any finer metrics?) I can't find anything in the XSLT
    specification, apart from the fact that CSS properties apply. nor is
    there anything in the DB stylesheets. I'd like to know if this is
    possible for FO and HTML output.
    Thanks,
    --
    *Dave Gardiner*




  • 2.  Re: [docbook-apps] XSLT/CSS border style specifications

    Posted 07-18-2012 08:56
    Hi,

    On Wed, 18 Jul 2012 18:36:36 +1000
    Xmplar <info@xmplar.biz> wrote:

    > How does one control the specifications for the various border styles
    > for tables, etc. I know how to select the line styles - solid,
    > dashed, double, groove, etc - but can the specific metrics for each
    > of these be defined? I want to modify the line widths and spacing
    > between lines for the 'double' style. (I can specify the overall
    > width of line, but is there any finer metrics?) I can't find anything
    > in the XSLT specification, apart from the fact that CSS properties
    > apply. nor is there anything in the DB stylesheets. I'd like to know
    > if this is possible for FO and HTML output.

    You can set some table properties for FO by using one of the following
    parameters:

    http://docbook.sf.net/release/xsl/current/doc/fo/tables.html

    For HTML it is recommended to use CSS anyway. Bob's book covers tables
    in chapter 30:

    http://sagehill.net/docbookxsl/Tables.html


    --
    Gruß/Regards,
    Thomas Schraitle