OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Note Box


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.

<?xml version='1.0'?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
                   "http://www.oasis-open.org/docbook/xml/4.5/
docbookx.dtd">
<book lang="en">
<bookinfo><title>My first DocBook document</title></bookinfo>

  <chapter>
    <title>TEST DOCBOOK</title>
    <note>
        <title>This is Note</title>
        <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



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]