![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Nov 2011
Device: nook, sony, kindle
|
How do you turn off default text-indent <p> in Nook
I have been trying to turn off the default text-indent for the paragraphs in Nook.
This is my Css p { margin: 0; text-align: left; line-height: 1.5em; text-indent: 0em; } Any ideas? |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 16,731
Karma: 12185114
Join Date: Nov 2007
Location: Florida
Device: iPhone 6 plus, Sony T1, iPad 3
|
Hi DAntkowiak and welcome to MobileRead. If you don't get an answer here soon, try posting your question in our Nook section.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,320
Karma: 59447733
Join Date: Jan 2007
Location: Peru
Device: KINDLE: Oasis 3, Scribe (1st), Matcha; KOBO: Libra 2, Libra Colour
|
This member missed an opportunity to introduce himself to our community.
This thread has now been moved to the nook forum. Don (Moderator) |
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Nov 2011
Device: nook, sony, kindle
|
Sorry I'm a newbie. I am involved in testing epub and kindle files and happy to have your forum for support. Thanks for all the great information.
Donna |
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Dec 2011
Device: Nook Simple Touch
|
Hi! I'm having the same issue. First lines will often come with an automatic text-indent, even if it's not defined in the stylesheet.
This issue was also discussed some time ago in passing here: https://www.mobileread.com/forums/sho...d.php?t=103533 For instance, on the Nook, for something that's supposed to be centred, it'll be off-center, slightly to the left. In ADE, Sigil, iPad, etc. it renders fine. Is there any way around this? Even manually adding the following to book stylesheets doesn't seem to work: Code:
p, h1, h2, h3, h4, h5, h6, div, span { text-indent: 0em; } |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 416
Karma: 14682
Join Date: May 2008
Location: SF Bay Area
Device: Nook HD, Nook for Windows 8
|
On the Nook Color, Tablet, and Simple Touch, at the bottom of the text options dialog there is a setting for "Publisher Defaults". If you turn this on then the only styling used will be the one in the ebub. If this is off (which is the default), then additional CSS will be inserted to change font, line spacing and margin as well as others.
Last edited by Jim Lester; 12-19-2011 at 07:30 PM. |
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Dec 2011
Device: Nook Simple Touch
|
Thanks, Jim! That was very helpful!
|
![]() |
![]() |
![]() |
#8 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Nov 2011
Device: nook, sony, kindle
|
Thank you Jim I will give that a try.
|
![]() |
![]() |
![]() |
#9 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Jul 2013
Device: Nook Simple Touch
|
I incidentally used a child selector to fix some inheritance issues for p tags that were not direct children of body. This seems to work for me on nook touch:
Code:
body > p{text-indent:0em;} |
![]() |
![]() |
![]() |
#10 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,165
Karma: 8800000
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Quote:
Here is a css stylesheet that works on my Nook, using the both the publisher defaults and the nook settings. Spoiler:
![]() bernie |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Any hack to make default ebook text bold? | judith009 | Kindle Developer's Corner | 9 | 01-01-2011 02:32 PM |
Changing default text style? | jyavenard | Kindle Developer's Corner | 5 | 09-29-2009 09:38 AM |
missing lines of text on page turn | anton980 | Sony Reader | 5 | 05-26-2009 12:49 PM |
need vba/word scripting help to turn inline text into header | Bierkonig | Workshop | 3 | 01-09-2009 09:40 PM |
Default Text Size | jlbfoot | Sony Reader | 19 | 12-29-2008 03:41 PM |