This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: SGML DocBook, Section and HTML CSS
- To: docbook-apps at lists dot oasis-open dot org
- Subject: Re: DOCBOOK-APPS: SGML DocBook, Section and HTML CSS
- From: Norman Walsh <ndw at nwalsh dot com>
- Date: Tue, 06 Feb 2001 08:40:41 -0500
- References: <14975.53884.889837.490717@localhost>
/ Carsten Wartmann <c.wartmann@gmx.net> was heard to say:
| I am using the Recursive Sections, because it is very convinient. Now
| I try to use HTML-CSS for the HTML output, this works extremely good
| beside that every section level is tagged with <div class="SECTION"></div>.
| So I canīt distinguish between the levels of sections.
CSS selectors can do it for you:
DIV.section { formatting for top-level sections }
DIV.section DIV.section { formatting for 2nd level sections }
DIV.section DIV.section DIV.section { formatting for 3rd level sections }
etc.
| Do I need to go back to Explicitly numbered sections, Sect1, Sect2
| etc? (this tags the sections correct in the HTML).
If the world would rather always have the div classes enumerated,
that could be done.
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | Many a man that cudden't direct ye
http://www.oasis-open.org/docbook/ | to th' drug store on th' corner
Chair, DocBook Technical Committee | whin he was thirty will get a
| rispictful hearing whin age has
| further impaired his mind.--Finley
| Peter Dunne