Thread: Some code help
View Single Post
Old 12-31-2010, 07:59 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,099
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Gray Eminence View Post
Hello,



I do try to keep 10 consecutive lines ALWAYS on the same page. They must stay together and if needed, report the first lines to the next pages.

I tried many things, but nothing seems working in ADE display

Any help suggestion is greatly appeciated.

Cheers,
GE

Current non working CSS code : .nobreak {page-break-before:;page-break-after:;page-break-inside:} (and all variant tested)
Page?
ADE considers a page to be 1024 chars (unless terminated sooner).

Screen?
Many things control how much will fit on the screen (besides the screen size). Body Margins, Padding, Border, Line spacing (Paragraph spacing is also a Margin,Padding,border)

It might be easier to keep short lines together by using Break
Code:
<p class=foo> line1 <br />Line2<br />Line3<br />last_line. Whee!</p>
theducks is offline   Reply With Quote