[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Simpler XHTML output
Jirka Kosek <jirka@kosek.cz> wrote on Mon, 25 Apr 2005 17:42:45 +0200: > Using XHTML 1.1 is not good idea because: > > 1) it must be labelled as MIME type text/xml, application/xml or > application/xhtml+xml per specification This is not true AFAIK. If I'm wrong, please point me to the relevant part of the specification. The specification concerns the content, not the MIME content type. A page can be valid XHTML 1.1 and be served as text/html (my own Web pages, for example). I think this is a pragmatic solution, as XHTML 1.1 is a clean and neat XML, and the final such spec that is going to be backwards-compatible with HTML. Valid XHTML 1.1 can be written such that most browsers accept it as HTML. >> 5. The only DIV to be created inside the main content will be for >> admonitions, sidebar and highlights. > > Why? That way you will not be able to control rendering of whole > section or titlepage for example. Current stylesheets wrap these > structures inside <div class="section"> or <div class="titlepage"> > respectively. Here I agree with Jirka. Why not use divs and spans abundantly, with class attributes that give full control to custom CSS? You can make even divs essentially go away using display:inline. Justus -- Justus H. Piater, Ph.D. http://www.montefiore.ulg.ac.be/~piater/ Institut Montefiore, B28 Phone: +32-4-366-2279 Université de Liège, Belgium Fax: +32-4-366-2620
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]