![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Mar 2013
Device: none
|
Keep words from splitting between lines
When I proof my ebook in ADE, I'm seeing certain long words at the end of a line being split and hyphenated between two lines.
For example, if the word serendipity was at the end of a line on the page, it would look like this: blah blah blah seren- dipity blah blah Is there a command that I can put in the stylesheet to keep my words together and have the entire word drop to the next line instead, like this: blah blah blah serendipity blah |
![]() |
![]() |
![]() |
#2 |
Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
|
These:
Code:
hyphens: none; -webkit-hyphens: none ! important; -moz-hyphens: none; adobe-hyphenate: none; Code:
-o-hyphens: none; -ms-hyphens: none; |
![]() |
![]() |
![]() |
#3 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
It is generally a good idea to add some of those to chapter titles and similar elements. At the very least, I'd add:
hyphens: none; (CSS3 code, should work with ePub 3 books ?) adobe-hyphenate; (Adobe-specific, works with most ebook readers) others are probably more specific to certain readers. Hopefully, browser-based readers will support (maybe in some future) the CSS3 way in addition to their own codes... |
![]() |
![]() |
![]() |
#4 | |
Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#5 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,012
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Glo Not Splitting words at end of sentence | sunny1z | Kobo Reader | 8 | 02-21-2013 07:39 PM |
Touch Dark lines between lines of text | taming | Kobo Reader | 12 | 06-13-2011 07:20 PM |
K3 splitting words in Mobi | RockSlice | Calibre | 11 | 12-31-2010 01:38 AM |
Splitting help needed | tibiafry | Workshop | 1 | 05-18-2009 08:16 AM |