![]() |
#1 |
Member
![]() Posts: 16
Karma: 10
Join Date: Oct 2013
Device: Kindle
|
Cloud Reader default indents (override?)
Hi, I could use a quick hand.
Cloud Reader displays text-indents by default. A client is unhappy. The book I've formatted for him uses indents in specific places. I've used css classes for those. Help: I need to override Cloud Reader's default paragraph first-line indents. If I define <p> as zero-indent and a special class for indented text, might that work? e.g. Code:
p { text-indent: 0px; } p.indented { text-indent: 10px; } Last edited by Gramlin; 02-08-2017 at 04:01 PM. Reason: body |
![]() |
![]() |
![]() |
#2 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,708
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
p is best defined as what you most use. Thus, p would have an indent. You create the class that has an indent of 0 and use that when you don't want an indent. Also, use em such as 1.2em and not px. px can cause problems changing settings.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 16
Karma: 10
Join Date: Oct 2013
Device: Kindle
|
Thanks for reply. Do you know a good way to test documents in the Kindle Cloud Reader, without having to publish the book first?
|
![]() |
![]() |
![]() |
#4 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,708
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#5 |
Member
![]() Posts: 16
Karma: 10
Join Date: Oct 2013
Device: Kindle
|
Thanks again (and sorry for duplicating this thread elsewhere).
Cloud reader has frustrated me as I can't really sandbox anything, and it appears to be using a different default. I want no indent to be standard. In a couple of other books a formatted previously, I let <p> remain undefined and it was not a problem on all my devices and every app I tried. The book I am working on today requires there to be no indents, except in a few specific places. I did have <p> undefined and <p class="indent"> for the few odd occasions I needed it. This was working a treat until someone tried it on Cloud Reader. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,065
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
The display of paragraphs indented by default is also the normal behavior of Kindle devices that use the older MOBI format, so it isn't only the Cloud Reader that will display your book like this.
You can use Kindle Previewer 2.94 with the device type set for E-ink/Kindle DX to see how your book will display on older Kindle devices. --- You should probably ask a moderator to move this thread to the Kindle Formats forum. That is where issues like this are discussed. Last edited by jhowell; 02-09-2017 at 08:42 AM. |
![]() |
![]() |
![]() |
#7 |
Member
![]() Posts: 16
Karma: 10
Join Date: Oct 2013
Device: Kindle
|
Thanks Jhowell. I thought I recalled the previewer being rather more useful once. I must have updated to version 3 at some point. I don't do this sort of formatting often enough, really.
|
![]() |
![]() |
![]() |
#8 |
Member
![]() Posts: 16
Karma: 10
Join Date: Oct 2013
Device: Kindle
|
This is solved now.
Defining CSS for <p> with zero text-indent stopped Cloud Reader indenting. Well, of course. Readers should be aware it did nothing to help with 'Look Inside' but I expect you already know about that. Thanks for comments, the old Previewer in DX e-ink mode did basically reflect the behaviour of the Cloud Reader in this aspect. |
![]() |
![]() |
![]() |
#9 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,708
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Last edited by JSWolf; 02-09-2017 at 07:08 PM. |
|
![]() |
![]() |
![]() |
#10 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 922
Karma: 15576314
Join Date: Jan 2013
Location: Ely, Cambridgeshire, UK
Device: Kindle Oasis 3, Kindle Oasis 1
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cloud Reader - 3M | Red Falcon | General Discussions | 2 | 10-20-2016 11:31 AM |
How do I override default metadata search terms? | DC_Sonoma | Library Management | 2 | 08-10-2012 09:40 AM |
Indents and hanging indents in epub poetry | Derek R | ePub | 14 | 02-19-2012 04:43 AM |
E-Reader that performs like Stanza.. choice of fonts/indents WITHIN the reader? | seajewel | Which one should I buy? | 2 | 07-30-2011 12:56 AM |
Override of default title sort fails | jesscat | Library Management | 4 | 02-10-2011 01:24 PM |