View Single Post
Old 09-03-2009, 09:48 AM   #4
gwynevans
Wizzard
gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.gwynevans ought to be getting tired of karma fortunes by now.
 
gwynevans's Avatar
 
Posts: 1,402
Karma: 2000000
Join Date: Nov 2007
Location: UK
Device: iPad 2, iPhone 6s, Kindle Voyage & Kindle PaperWhite
Quote:
Originally Posted by slantybard View Post
Okay, I have noticed on some of my zipped html books that ePub conversion in 0.6xx produces ePubs with the body text "squished" into about an inch of the middle of the screen on my 505. Previously, the conversions using the 0.5xx series of calibre handled this just fine. I was wondering if anyone else has noticed this as well.
Actually, I have...

When I've seen it, it's been with a MS Word generated HTML file, and right at the end of the in-line CSS, there's been this...

Code:
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
The problem is that the viewer's honoring the "margin:1.0in 1.25in 1.0in 1.25in;", specifically the 1.25 inch left & right margins! I don't know why Calibre now passes it whereas before it stripped it, but one work around is to edit the HTML and delete the section above, although you could try just passing "div.Section1 {}" in Calibre's CSS override box. (Not tested)
gwynevans is offline   Reply With Quote