![]() |
#1 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jan 2014
Location: Whitchurch, Shropshire, UK
Device: none
|
Margins
Is it possible to remove the margins from an epub? I have images as chapter starts I'd like to make full screen but there is a margin all round.
I've seen a DC Comic ebook that has no margins! Any ideas how to do this? |
![]() |
![]() |
![]() |
#2 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Dec 2010
Device: ipad
|
Hi,
Yes, search in your CSS file and delete margin properties. Simple You can set the height or width to 100% to make it a full screen image regards |
![]() |
![]() |
![]() |
#3 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,909
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Also check for non-zero 'padding'. While not common, it can be done.
|
![]() |
![]() |
![]() |
#4 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Set @page{margin:0} and hope the reader does not add its own margins.
|
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jan 2014
Location: Whitchurch, Shropshire, UK
Device: none
|
Doesn't work! I think the readers are adding their own margin. All my margins are set at 0 and the image to 100% but there is still a white margin all round. Probably a setting to allow a touch point to turn the pages.
|
![]() |
![]() |
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,195
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Use svg, see the code used by calibre for the cover image in any calibre generated epub.
|
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jan 2014
Location: Whitchurch, Shropshire, UK
Device: none
|
It is possible with some small changes to code. Some meta in the HTML, a line or two in the XML and CSS changes. Quite easy and makes the document look much nicer but you have to be aware of the different devices it will be viewed on! http://jasonhibbs.co.uk/2012/blank-book/
|
![]() |
![]() |
![]() |
#8 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Ah, but that is a fixed-layout. Those are special type of ePUB that most readers cannot handle. Even if the reader can handle fixed-layout, it is questionable if it can read it, as the implementation of fixed-layout differs between vendors.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PW - Margins | Dr_Raspy | Amazon Kindle | 6 | 01-24-2013 03:45 AM |
Margins | Billi | Calibre | 22 | 01-22-2011 04:50 PM |
Margins in 6.3 | Amalthia | Calibre | 19 | 07-10-2010 08:40 AM |
Help with margins | Switch | Calibre | 3 | 04-30-2010 02:53 AM |
Margins | cklammer | EPUBReader | 0 | 12-07-2009 02:55 AM |