This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: [docbook] How to do "nowrap" in docbook
- From: jim kraai <jimgkraai at yahoo dot com>
- To: Harobed <mailing at harobed dot org>, docbook at lists dot oasis-open dot org
- Date: Mon, 22 Dec 2003 21:24:41 -0800 (PST)
- Subject: Re: [docbook] How to do "nowrap" in docbook
from:
http://www.sagehill.net/docbookxsl/UsingCSS.html#CustomClass
in your docbook file:
<entry role="nowrap">PCDATA</entry>
in an <entry> element (also emphasis, para, and phrase), the docbook xsl is
supposed to copy whatever's in the role atribute to the corresponding HTML
element's class attribute. So the above should produce:
<td class="nowrap">PCDATA</td>
Next, the browser needs to be told what to do with that class. In
your CSS file, add the following:
.nowrap {
white-space: nowrap;
}
--- Harobed <mailing@harobed.org> wrote:
> Hi,
>
> I would like to do as <td nowrap> in html.
>
> How to do this in docbook ?
>
> Thanks
> --
> Stéphane KLEIN
> Home page : http://www.harobed.org
> Jabber : harobed@myjabber.net
>
>
> To unsubscribe from this list, send a post to docbook-unsubscribe@lists.oasis-open.org, or visit
> http://www.oasis-open.org/mlmanage/.
>
__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
To unsubscribe from this list, send a post to docbook-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.