|01-08-2009, 07:23 PM||#1|
Join Date: Oct 2008
Calibre collapses paragraph margins - why?
I'm formatting a book in HTML, and I want to lay out my paragraphs with no text-indent, but a 6pt gap between paragraphs. If I code like this:
But completely different <p> tags, say referring to a chapter title and body text will have gaps between them. After much fiddling around, I've discovered that any paragraph with the same attributes as the previous paragraph will be completely collapsed into each other, with all margin information discarded. For example, the following will give exactly the same result as the last example:
Thank you for any suggestions! At the moment I'm doing all my books with alternating paragraph classes, very clunky.
|01-08-2009, 07:49 PM||#2|
creator of calibre
Join Date: Oct 2006
Location: Mumbai, India
That's an optimization, creating too many text blocks in an LRF file results in the sony reader rebooting on longer files. Unfortunately, that means you cant achieve the effect you want, except with the alternate classes.
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Each sentence treated as a paragraph in new versions of calibre||jidiot008||Calibre||3||11-16-2010 07:00 PM|
|Prevent Calibre to paragraph each line||armkbdotcom||Calibre||3||05-29-2010 04:15 PM|
|Paragraph question||shrktank||Calibre||2||11-29-2009 01:07 AM|
|What is so unusual about this paragraph?||Madam Broshkina||Lounge||11||04-24-2008 04:04 PM|