On 02/14/2019 12:45 PM, Gerd Wagner wrote:
It would probably be good, if you would add the required CSS styling for this to your 
"ebook.css".

Just to be precise, XMLmind does not provide our users with a ready to use "ebook.css". Users are supposed to create their own CSS stylesheet. This is explained here:

http://www.xmlmind.com/ebookc/_distrib/doc/manual/html/primer.html#primer__nice_ebooks
---
Nicely formatted books,
...
Knowing about these elements is required to be able to give nice looks to the generated book. These elements and their class names are all listed in template/template.css, with suggested CSS styles for some of these elements.
...
---




I've added

    *[xml\:space="preserve"] {white-space:pre;}

to my local "ebook.css" and it works fine for the generated HTML, at least.

Good news.




Notice that this is treating the namespace-qualified attribute "xml:space" as 
an HTML extension attribute. When the ebook division files are served as XHTML, then

    @namespace xml "http://www.w3.org/XML/1998/namespace";;
    *[xml|space="preserve"] {white-space:pre;}

would be correct.

Did not realize that. Thank you for this information.





--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to