Quote:
Originally Posted by DiapDealer
That should definitely make Kindlegen create a document with no spaces between paragraphs and a first-line indent. If that's not happening, then there must be something else overriding the p element's style, or the style isn't being applied properly, or the external style sheet isn't being linked correctly. Pretty hard to guess without seeing a portion of the affected html (including the head) and the rest of the CSS.
You're saying the exact same source referred to above works as expected with v1.2, but doesn't work with later versions?
|
First off, thanks to DiapDealer and DreamWriter!
I'll try 2.8 later today and post back results. I have a hunch 2.8 will fix my problem because I just noticed something in the 2.5 ChangeLog on the KindleGen Wiki at
https://wiki.mobileread.com/wiki/KindleGen- Unintended line breaks in Mobi7 when using some CSS properties ("margin-top: 0px" and "margin-bottom: 0px") has been fixed.
In the meantime, to answer your questions, the CSS validates as CSS2.1, it is properly linked, and I don't think the <p> is being overridden. The same CSS behaves differently in 1.2 and 2.3 or 2.4.
If 2.8 fails, I'll post a very simple cut-down example.