Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Sony Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 02-09-2010, 05:23 PM   #1
ShellShock
Wizard
ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.
 
ShellShock's Avatar
 
Posts: 1,177
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
Can't get rid of bottom margin in epubs

On my PRS 505, I can't seem to get rid of a bottom margin in my epubs. At the bottom of each screen full of text there will always be at least one blank line, sometimes 2/3. This happens even when I set all margins to 0 in the style sheet and in each document in the epub.

Is this a common problem? A bug with the ADE software on the device?
ShellShock is offline   Reply With Quote
Old 02-09-2010, 05:35 PM   #2
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
One thing to try changing is widows and orphans, see CSS Reference - widows. I have typically seen these set to zero, see ePub to ePub - just replace CSS?
wallcraft is offline   Reply With Quote
Advert
Old 02-09-2010, 05:53 PM   #3
ShellShock
Wizard
ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.
 
ShellShock's Avatar
 
Posts: 1,177
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
Thanks, but it made no difference. I currently have this:

Code:
    <style type="text/css">
		@page 
		{ 
			border-color: rgb(0, 0, 0);
			border-style: none;
			border-width: 0;
			color: rgb(0, 0, 0);
			display: none;
			font-size: 10pt; 
			font-weight: normal;
			text-align: left;
			margin: 0;
			text-indent: 0
			widows: 0;
			orphans: 0;
		}
	</style>
And my text is like this:

Code:
<div id="38">
<div>Line 1.</div>
<div>Line 2.</div>
<div>Line 3.</div>
<div>Line 4.</div>
<div>Line 5.</div>
etc
</div>
I have tried many things, but nothing seems to get rid of the bottom margin.
ShellShock is offline   Reply With Quote
Old 02-11-2010, 05:15 PM   #4
ShellShock
Wizard
ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.
 
ShellShock's Avatar
 
Posts: 1,177
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
I spoke to soon--it seems I was using the widows/orphans style in the wrong place. Now I have put it in the .body style it seems to be working. So many thanks wallcraft, and have some karma on me.
ShellShock is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New conversion questions: Getting rid of huge left margin Epub to Mobi geekgeek Calibre 2 09-01-2010 12:00 AM
taille des caractères en em et margin-bottom NicolasR Software 6 06-21-2010 11:22 AM
hi, i am currently getting rid of the russellmz00 Introduce Yourself 6 05-25-2010 02:42 PM
little issue converting from odt to epub (top and bottom margin) superanima Calibre 1 02-15-2010 05:15 PM
calibre ignore margin-top and margin-bottom bender Calibre 2 12-11-2009 07:58 AM


All times are GMT -4. The time now is 12:43 PM.


MobileRead.com is a privately owned, operated and funded community.