Re: [docbook-apps] Make better use of IDs in the HTML stylesheets?

2008-04-17 Thread Jirka Kosek
Jirka Kosek wrote: which you can easily access in CSS by .appendix._foo I forgot about CSS escaping rules, so you should write this down as .appendix.\_foo You might try to use different character then underscore to prefix ID values. -- ---

Re: [docbook-apps] Make better use of IDs in the HTML stylesheets?

2008-04-17 Thread Jean Jordaan
Hi Jirka > But to accommodate your needs you can easily put ID into class attribute. > Just add the following into your customization layer: Excellent! Thank you very much. Perhaps this can be considered for inclusion in the standard stylesheets .. -- jean . .. //\\\oo///\\ --

Re: [docbook-apps] Make better use of IDs in the HTML stylesheets?

2008-04-17 Thread Jirka Kosek
Jean Jordaan wrote: Consider putting the id in a place that actually identifies the entire named section? The problem is that some older HTML browsers do not suppot ID attributes and it is thus necessary to emit . You can't have ID attribute with the same value on different element. But to

[docbook-apps] Make better use of IDs in the HTML stylesheets?

2008-04-17 Thread Jean Jordaan
Hi there When generating HTML from DocBook XML, structures (such as tables or appendices) with ids generate HTML like this: A. Databases to be backed up That's from XML like this: Databases to be backed up Now I want to write CSS to style this appendix. The prob