![]() |
#1 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() Posts: 148
Karma: 503
Join Date: Oct 2009
Device: Kindle 2, Nook, iPhone 3GS, iPad
|
epub Margins on nook
I was testing some of my own epub files (created with Sigil) on the nook, and noticed that, unlike the Kindle, the nook doesn't automatically add margins around the edge of the page. The end result is that text stretches clear out to the left and right edge of the screen, and also butts right up against the top menubar. The left and right margins should be easy enough to fix with a CSS rule, but I'm not sure how to handle the spacing at the top - there's no element I could easily target with CSS.
Anyone seeing similar problems with user-created epubs? |
![]() |
![]() |
![]() |
#2 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 199
Karma: 24918
Join Date: May 2009
Device: PRS-505,nook,Nook Color,Android
|
Have you tried:
Code:
body { margin: 5px; } |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Captain Penguin
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,947
Karma: 2077653593
Join Date: May 2009
Location: Vancouver, BC
Device: Kobo Libra 2, Nook Glowlight
|
|
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,478
Karma: 5171130
Join Date: Jan 2006
Device: none
|
Are either of these solutions tested as standards-compliant, and do they produce the same results on all ePub readers?
|
![]() |
![]() |
![]() |
#5 | |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 199
Karma: 24918
Join Date: May 2009
Device: PRS-505,nook,Nook Color,Android
|
Quote:
Apparently @page works on the nook, though, so, at a minimum, it solves this Trubu's problem. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() Posts: 148
Karma: 503
Join Date: Oct 2009
Device: Kindle 2, Nook, iPhone 3GS, iPad
|
Thanks all. I didn't know about the @page selector - sounds like that will do what I need. I'll give it a try tonight.
|
![]() |
![]() |
![]() |
#7 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() Posts: 148
Karma: 503
Join Date: Oct 2009
Device: Kindle 2, Nook, iPhone 3GS, iPad
|
Just wanted to say thanks again - setting a page rule did the trick. Makes my side-loaded content a lot more pleasing to the eye.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can't seem to change epub margins | Desertway | Calibre | 7 | 01-19-2012 04:28 AM |
ePub margins expand if zoom! | BookCat | ePub | 5 | 10-08-2010 02:07 PM |
Epub to mobi margins.. | Corran006 | Calibre | 0 | 08-27-2010 08:39 PM |
Testing margins in ePUB. | Jellby | Workshop | 8 | 01-03-2010 11:57 AM |
Problem changing margins on an ePub | AnemicOak | ePub | 3 | 11-02-2009 04:30 PM |