![]() |
#1 |
eBook Designer
![]() Posts: 17
Karma: 10
Join Date: Jul 2010
Location: Brussels
Device: PRS-650 / NookGlow / Paperwhite / iPad / AsusTransformer
|
Some code help
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) |
![]() |
![]() |
![]() |
#2 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,009
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:
ADE considers a page to be 1024 chars ![]() 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> |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,546
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
|
![]() |
![]() |
![]() |
#4 |
eBook Designer
![]() Posts: 17
Karma: 10
Join Date: Jul 2010
Location: Brussels
Device: PRS-650 / NookGlow / Paperwhite / iPad / AsusTransformer
|
Thank you to both of you
The solution is ..... combination of BR and page-break-inside ![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
QR code for MR | Donnageddon | Lounge | 81 | 10-04-2011 06:28 PM |
code help | AWOL | Sigil | 7 | 11-19-2010 11:50 AM |
Let's create a source code repository for DR 800 related code? | jraf | iRex | 3 | 03-11-2010 12:26 PM |
Some help with code | Crusader | ePub | 5 | 01-01-2010 10:23 PM |
Hi all — and see the code | sigizmund | Introduce Yourself | 2 | 12-18-2009 02:53 AM |