View Single Post
Old 03-23-2008, 07:15 PM   #22
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
Quote:
Originally Posted by JSWolf View Post
What needs to be fixed?
EDIT: Was DELETED as zelda_pinwheel already answered this, but on second thoughts, I'll just add that I also ensure that there are no stray blank lines BEFORE a page break. That means that any:
Code:
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>

before a

<p style="page-break-before:always">
gets removed/deleted by me. The consequence of NOT doing so is that there can be situations where an unwarranted 'blank page' gets inserted. The reason is that the stray/extra blank line may allow the 'text' to continue onto a new page (which is now blank!) and then the page break comes along and that blank page stays there! Yuk!

This is sometimes unavoidable when the image used is longer than wider and bleeds into the bottom. This situation can only be fixed by re-sizing the image to the device's dimensions or inserting width/height specifications within the <img> tag. Either way you loose the generality of the code and need to re-do this resizing for the other .IMP device (REB1200).

Likewise, I also like remove stray blank lines after "THE END". Nothing more annoying than reaching "THE END" and there being one more page to read; only to find out its BLANK!

Last edited by nrapallo; 03-24-2008 at 11:10 AM. Reason: fixed typo
nrapallo is offline   Reply With Quote