Quote:
Originally Posted by Gray Eminence
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>