View Single Post
Old 03-20-2013, 09:44 AM   #22
Darth_Bane
Dark Lord of the Sith
Darth_Bane knows how to set a laser printer to stun.Darth_Bane knows how to set a laser printer to stun.Darth_Bane knows how to set a laser printer to stun.Darth_Bane knows how to set a laser printer to stun.Darth_Bane knows how to set a laser printer to stun.Darth_Bane knows how to set a laser printer to stun.Darth_Bane knows how to set a laser printer to stun.Darth_Bane knows how to set a laser printer to stun.Darth_Bane knows how to set a laser printer to stun.Darth_Bane knows how to set a laser printer to stun.Darth_Bane knows how to set a laser printer to stun.
 
Darth_Bane's Avatar
 
Posts: 60
Karma: 95334
Join Date: Jul 2010
Location: A Galaxy Far Far Away
Device: Sony PRS-505 and PRS-300, Kobo Wifi, Touch and Mini, Kindle 4NT
Quote:
Originally Posted by DiapDealer View Post
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.
Darth_Bane is offline   Reply With Quote