03-11-2013, 01:09 PM | #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 |
03-11-2013, 04:19 PM | #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; |
Advert | |
|
03-11-2013, 04:25 PM | #3 |
frumious Bandersnatch
Posts: 7,516
Karma: 18512745
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... |
03-11-2013, 04:31 PM | #4 | |
Curmudgeon
Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
|
Quote:
|
|
03-12-2013, 09:01 AM | #5 | |
Resident Curmudgeon
Posts: 74,027
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
Advert | |
|
|
Similar Threads | ||||
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 |