docbook-apps

Re: [docbook-apps] Note Box

  • 1.  Re: [docbook-apps] Note Box

    Posted 01-26-2015 12:41
    Hi,

    Docbook's default output is plain HTML, without styling. To add borders to notes (and other style changes) for HTML output, you need to use a CSS stylesheet. For notes, for example, you'd want to do something like:

    div.note {
    border: 1px solid black;
    }

    For more, see:

    http://www.sagehill.net/docbookxsl/UsingCSS.html

    ------
    David Goss , Technical Writer
    Frontier Science | www.fstrf.org
    4033 Maple Rd, Amherst, NY 14226
    (716) 834-0900 extension 7204

    ----- Original Message -----
    From: "Joydeep Chakrabarty" <chalao.adda@gmail.com>
    To: "docbook-apps" <docbook-apps@lists.oasis-open.org>
    Sent: Sunday, January 25, 2015 10:29:58 AM
    Subject: [docbook-apps] Note Box

    Hello all,

    I have been trying to write a docbook file. I am using <note> element.
    But I cannot see the note box (or borders) in my output html file. What
    am I missing here? Here
    is my code.


    "http://www.oasis-open.org/docbook/xml/4.5/
    docbookx.dtd">
    <book lang="en">
    <bookinfo></bookinfo>

    <chapter>

    <note>

    <para>This is test.</para>
    </note>
    </chapter>
    </book>

    Thanks.


    ---------------------------------------------------------------------
    To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org