|04-14-2011, 08:40 PM||#1|
Join Date: Apr 2011
Nook Paragraph Spacing
Hi, I've created an ePub file which seems to work on ADE, Calibre, iBooks, etc.
However, when I load it onto Nook for Mac (to test for Nook users) the paragraphs all run together (i.e. have no margin) no matter how much "margin-top" or "margin-bottom" I add to the <p> tag.
|04-19-2011, 05:23 AM||#3|
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon
It might have some internal style for <p>, with a higher priority.
Try increasing the priority of your styles with one of these:
1. Add "!important" to the margin value.
2. Use a class for your <p>, and use it in the CSS style too.
3. Use a more specific selector, such as "body p".
If it works, I'd go for #3, it's easy, does not need extensive changes, does not break anything. I had a similar problem with <body> margins in the Cybook, and #3 worked (with "html body" as a selector)
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Paragraph spacing||Banks||ePub||2||08-09-2012 05:24 PM|
|What sort of paragraph spacing do you prefer?||bfollowell||Workshop||4||10-27-2010 09:04 PM|
|Paragraph spacing||jhempel24||Calibre||5||08-24-2010 12:14 AM|
|Questions about <p> and <div> and paragraph spacing||droople||Sigil||7||08-14-2010 12:03 PM|