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


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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

Subject: Re: DOCBOOK: howto add icons to para

On 2002-04-10 16:05 (Wednesday), Grobe, Gary wrote:
> Anyone have an ex. CSS body that would accept <note role="beginner"> or
> <note role="intermediate"> and show a small icon image in each note?

With CSS2, AFAIK, that's only possible with the <li> element :


Example :

li {
	list-style-image: myImage.png

Thus using this approach you would have to rely on DocBook elements that
are transformed by the stylesheets into <li> HTML elements.

That's not a good option. The right thing to do is to do customize
Norman's stylesheets to add images for roles "intermediate" and

Many think that XSL stylesheets are more easily customizable and I share
that opinion too. So if you have the choice between DSSSL and XSL,
better try customizing the XSL stylesheets.

And when it comes to stylesheet and application-related DocBook
questions, you should ask <docbook-apps@lists.oasis-open.org>.


Marc-Aurčle DARCHE  <http://www.cynode.org>
AFUL <http://www.aful.org>
Association Francophone des Utilisateurs de Linux/Logiciels Libres
French speaking Linux and Libre Software Users' Association

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

Powered by eList eXpress LLC