|  11-02-2017, 05:31 AM | #46 | 
| Obsessively Dedicated...            Posts: 3,241 Karma: 35158061 Join Date: May 2011 Location: PA {back in the usa!} Device: Sony PRS-T2, ADE on PC | 
			
			@Rubén  --- I really hate to rain on the party. I tried your NoWrap span, and in my usage, it failed. . I use "hanging indents" for poetry, and the spanned text slides to the left, superimposed over adjacent text. It seemed to do this both WITH and WITHOUT the text-indent:0 specified in the span. Code: Spoiler: 
 . If I do manage to get the viewer window sized just right, so that the spanned word does drop to the next line, it does not indent as specified in the CSS. . Also, when I tried it in a normal paragraph (no negative indent), but justified, it gave an extremely wide spacing to the spanned word. . I tested in Sigil and Calibre viewer (QT based) and in ADE 2.0. So this kind of span seems not to work well in paras with negative / hanging indents. The good news is that the Unicode & # 8 2 8 8 ; appears to be working fine with hanging indent. Please let me know if I am doing something wrong with the code. Last edited by GrannyGrump; 11-02-2017 at 07:33 AM. | 
|   |   | 
|  11-02-2017, 01:13 PM | #47 | 
| Unicycle Daredevil            Posts: 13,944 Karma: 185432100 Join Date: Jan 2011 Location: Planet of the Pudding Brains Device: Aura HD (R.I.P. After six years the USB socket died.) tolino shine 3 | 
			
			Tried it with the books I last coded, and didn't experience that problem. But I'm too tired to compare our code... Spoiler: 
 | 
|   |   | 
|  11-02-2017, 03:26 PM | #48 | |
| Wizard            Posts: 1,876 Karma: 8821117 Join Date: Mar 2013 Location: Rosario - Santa Fe - Argentina Device: Kindle 4 NT | Quote: 
 Sorry, but I could not reproduce your issue. By applying your styles, I got the following output: Take in count that I worked WITH text-indent:0 in the "nowrap" class. I can't understand why is not working for you. Regards Rubén Last edited by RbnJrg; 11-02-2017 at 03:31 PM. | |
|   |   | 
|  11-03-2017, 07:54 AM | #49 | 
| Obsessively Dedicated...            Posts: 3,241 Karma: 35158061 Join Date: May 2011 Location: PA {back in the usa!} Device: Sony PRS-T2, ADE on PC | 
			
			well, this IS strange. I wonder if something farther down my stylesheet is causing some conflict. I will do some more experimenting, and see if I can learn why MINE is the only effort that failed. But thanks, Ruben, for posting the code. I really want this to work! | 
|   |   | 
|  11-03-2017, 10:43 AM | #50 | |
| Wizard            Posts: 2,306 Karma: 13057279 Join Date: Jul 2012 Device: Kobo Forma, Nook | Quote: 
 Looks like you accidentally had the text-indent line commented out: Code: .nowrap{
/*text-indent: 0 !important;*/
display: inline-block;
} | |
|   |   | 
|  11-03-2017, 01:05 PM | #51 | 
| Obsessively Dedicated...            Posts: 3,241 Karma: 35158061 Join Date: May 2011 Location: PA {back in the usa!} Device: Sony PRS-T2, ADE on PC | 
			
			Actually, I tried WITH and WITHOUT the "text-indent:0".  I got the same overlaid text either way.  But I will play around with it some more. I will start by using a minimal CSS, and see what happens.....
		 | 
|   |   | 
|  11-03-2017, 03:42 PM | #52 | 
| Wizard            Posts: 1,876 Karma: 8821117 Join Date: Mar 2013 Location: Rosario - Santa Fe - Argentina Device: Kindle 4 NT | 
			
			That's the key. Try to see if the epub I attach works for you.
		 | 
|   |   | 
|  11-05-2017, 02:49 PM | #53 | 
| Resident Curmudgeon            Posts: 80,727 Karma: 150249619 Join Date: Nov 2006 Location: Roslindale, Massachusetts Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 | 
			
			RbnJrg, have you tried it in ADE 2.0.1? Sigil and Calibre don't count.
		 | 
|   |   | 
|  11-06-2017, 03:55 PM | #54 | |
| Wizard            Posts: 1,876 Karma: 8821117 Join Date: Mar 2013 Location: Rosario - Santa Fe - Argentina Device: Kindle 4 NT | Quote: 
 Regards Rubén | |
|   |   | 
|  11-09-2017, 02:28 AM | #55 | 
| Obsessively Dedicated...            Posts: 3,241 Karma: 35158061 Join Date: May 2011 Location: PA {back in the usa!} Device: Sony PRS-T2, ADE on PC | 
			
			@Rubén and Tex ---- I am SO embarrassed.     Ruben, your code works fine, I must have had a typo in my first CSS, and must have been asleep at the wheel besides. Thank you once again for this solution! | 
|   |   | 
|  11-09-2017, 07:36 AM | #56 | |
| Wizard            Posts: 1,876 Karma: 8821117 Join Date: Mar 2013 Location: Rosario - Santa Fe - Argentina Device: Kindle 4 NT | Quote: 
  ) Last edited by RbnJrg; 11-09-2017 at 07:40 AM. | |
|   |   | 
|  11-09-2017, 08:07 AM | #57 | 
| Wizard            Posts: 2,306 Karma: 13057279 Join Date: Jul 2012 Device: Kobo Forma, Nook | |
|   |   | 
|  11-09-2017, 11:42 AM | #58 | 
| Wizard            Posts: 1,876 Karma: 8821117 Join Date: Mar 2013 Location: Rosario - Santa Fe - Argentina Device: Kindle 4 NT | |
|   |   | 
|  11-14-2017, 12:04 PM | #59 | 
| Bookmaker & Cat Slave            Posts: 11,503 Karma: 158448243 Join Date: Apr 2010 Location: Phoenix, AZ Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2 | |
|   |   | 
|  11-14-2017, 09:14 PM | #60 | |
| Resident Curmudgeon            Posts: 80,727 Karma: 150249619 Join Date: Nov 2006 Location: Roslindale, Massachusetts Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 | Quote: 
 | |
|   |   | 
|  | 
| Thread Tools | Search this Thread | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| italic at end of line causes next line to start with a space | ebookreadr | Sigil | 29 | 03-20-2017 11:25 AM | 
| Preventing chemical symbol from being split by page or line break | Nick Payne | ePub | 8 | 10-23-2013 03:06 AM | 
| Line breaks on Kindle, no line breaks on 4 PC | Siavahda | Kindle Formats | 0 | 10-20-2012 05:50 AM | 
| Spurious Line Breaks | Halk | Workshop | 1 | 05-15-2010 01:22 PM | 
| No line breaks | ecpepper | Amazon Kindle | 3 | 08-09-2009 06:42 PM |