Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 01-10-2011, 08:14 AM   #1
Gray Eminence
eBook Designer
Gray Eminence began at the beginning.
 
Gray Eminence's Avatar
 
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
Gray Eminence is offline   Reply With Quote
Old 01-10-2011, 09:32 AM   #2
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by Gray Eminence View Post
Is there a way to get a full page in black?
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 }
XHTML:
Code:
<body class="main">
...
</body>
Quote:
Or is there a way to force that NIGHT MODE in the ePub?
No, that's a reader thing.
Jellby is offline   Reply With Quote
Advert
Old 01-10-2011, 11:17 AM   #3
pholy
Booklegger
pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.
 
pholy's Avatar
 
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:
Quote:
Or is there a way to force that NIGHT MODE in the ePub?
No, that's a reader thing.
I guess, for an e-ink screen, that NIGHT MODE would be "Sleep" ? or maybe "Off"
pholy is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 10:31 PM.


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