![]() |
#1 |
eBook Designer
![]() Posts: 17
Karma: 10
Join Date: Jul 2010
Location: Brussels
Device: PRS-650 / NookGlow / Paperwhite / iPad / AsusTransformer
|
Margin margin margin
Hello,
I try to get a full page in black. Despite a good BACKGROUND:BLACK, I still have some borders in white. These borders are managed by the reader as I can put it in black by selecting NIGHT MODE. Is there a way to get a full page in black? Or is there a way to force that NIGHT MODE in the ePub? Or an alternative I didn't even thought too yet ? Thank you Regards, GE |
![]() |
![]() |
![]() |
#2 | |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
You can specify all margins to zero (for "body" and "@page"), and hope the reader obeys them. Some readers may add their own margins regardless of what the book says. Try using named classes and "!important", those might override those reader's defaults.
CSS: Code:
@page { margin: 0 !important } body.main { margin: 0 !important } Code:
<body class="main"> ... </body> Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Booklegger
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,801
Karma: 7999816
Join Date: Jun 2009
Location: Toronto, Ontario, Canada
Device: BeBook(1 & 2010), PEZ, PRS-505, Kobo BT, PRS-T1, Playbook, Kobo Touch
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem with margin | lurker316 | Calibre | 3 | 12-21-2010 09:02 PM |
Margin question | Switch | Calibre | 11 | 05-13-2010 03:32 PM |
calibre ignore margin-top and margin-bottom | bender | Calibre | 2 | 12-11-2009 06:58 AM |
Margin sizes... | M0zza | Calibre | 2 | 09-22-2008 04:02 AM |
Right Margin Control | TedPark | Sony Reader Dev Corner | 4 | 07-02-2008 07:41 AM |