[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] DocBook XSL 1.67.0 released
Paul Heinlein wrote: > It seems to me that it's good practice to have the DocBook XSL > stylesheets combine the appropriate [X]HTML tag with a class attribute, > rather than a generic span tag with a style attribute, whenever possible. But what do you do when there is no appropriate HTML tag? Certainly it makes sense to add the right class attribute so we have <span class="uri"> But should we stop there? Should the XSLT generate a CSS style element in the head of each document with rules that match all the class attributes? Or should it generate an external CSS style sheet with the right rules? I forget how the cascading order works. If we write out: <span class="uri" style="font-face: mono"> will a rule in the head or an external stylesheet override this or not? -- Elliotte Rusty Harold elharo@metalab.unc.edu XML in a Nutshell 3rd Edition Just Published! http://www.cafeconleche.org/books/xian3/ http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]