This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: SGML DocBook, Section and HTML CSS


/ 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]