Quote:
Originally Posted by Jim Chapman
Regarding the 'right' way to represent vertical space in epub files: It is pretty clear that using a p element containing only is an ugly hack, and is the wrong thing to do...
|
I don't agree. It is ugly, but it is not wrong even when considering web standards. After all, an e-book is not an webpage even if it uses web technology.
Like I said, the purists use margins to create the empty lines and they are of course correct. It is the 'best' way to do it. However, the sad part is that a lot of reading programs and even some readers ignore parts or even the complete stylesheet and overrule it with their own. This of course removes all the section breaks you had. Using the [noparse]<p> </p>[noparse] is a fail-safe method and completely legal/allowed. Empty paragraphs should be ignored according to the web-standards you mention and usually are. However, this is not an empty paragraph and should not be ignored according to the same standards.
So, unless all the readers/reading applications play ball, it is the only failsafe method. Personal feelings aside of course.