Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle

Notices

Reply
 
Thread Tools Search this Thread
Old 02-08-2017, 03:52 PM   #1
Gramlin
Member
Gramlin began at the beginning.
 
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;
}
EDIT: Or perhaps put the override into body {}?

Last edited by Gramlin; 02-08-2017 at 04:01 PM. Reason: body
Gramlin is offline   Reply With Quote
Old 02-08-2017, 04:15 PM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
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.
JSWolf is offline   Reply With Quote
Advert
Old 02-08-2017, 05:43 PM   #3
Gramlin
Member
Gramlin began at the beginning.
 
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?
Gramlin is offline   Reply With Quote
Old 02-09-2017, 05:31 AM   #4
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
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:
Originally Posted by Gramlin View Post
Thanks for reply. Do you know a good way to test documents in the Kindle Cloud Reader, without having to publish the book first?
Sorry, I don't.
JSWolf is offline   Reply With Quote
Old 02-09-2017, 05:52 AM   #5
Gramlin
Member
Gramlin began at the beginning.
 
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.
Gramlin is offline   Reply With Quote
Advert
Old 02-09-2017, 08:39 AM   #6
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
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.
jhowell is offline   Reply With Quote
Old 02-09-2017, 09:15 AM   #7
Gramlin
Member
Gramlin began at the beginning.
 
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.
Gramlin is offline   Reply With Quote
Old 02-09-2017, 01:16 PM   #8
Gramlin
Member
Gramlin began at the beginning.
 
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.
Gramlin is offline   Reply With Quote
Old 02-09-2017, 06:41 PM   #9
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
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:
Originally Posted by Gramlin View Post
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.
Are you saying you are selling eBooks with no indents and paragraph spaces? No indents are harder to read when you reading long text such as a book.

Last edited by JSWolf; 02-09-2017 at 07:08 PM.
JSWolf is offline   Reply With Quote
Old 02-10-2017, 06:27 AM   #10
NullNix
Guru
NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.NullNix ought to be getting tired of karma fortunes by now.
 
Posts: 922
Karma: 15576314
Join Date: Jan 2013
Location: Ely, Cambridgeshire, UK
Device: Kindle Oasis 3, Kindle Oasis 1
Quote:
Originally Posted by JSWolf View Post
Are you saying you are selling eBooks with no indents and paragraph spaces? No indents are harder to read when you reading long text such as a book.
Quite. This is best described as a minor typographic abomination.
NullNix is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 08:26 PM.


MobileRead.com is a privately owned, operated and funded community.