|  01-24-2014, 09:58 AM | #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? | 
|   |   | 
|  01-24-2014, 10:52 AM | #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 | 
|   |   | 
| Advert | |
|  | 
|  01-24-2014, 11:15 AM | #3 | 
| Well trained by Cats            Posts: 31,249 Karma: 61360164 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.
		 | 
|   |   | 
|  01-24-2014, 11:27 AM | #4 | 
| frumious Bandersnatch            Posts: 7,570 Karma: 20150435 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.
		 | 
|   |   | 
|  01-24-2014, 11:32 AM | #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.
		 | 
|   |   | 
| Advert | |
|  | 
|  01-24-2014, 11:41 AM | #6 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 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.
		 | 
|   |   | 
|  01-31-2014, 03:40 AM | #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/
		 | 
|   |   | 
|  01-31-2014, 07:10 AM | #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.
		 | 
|   |   | 
|  | 
| 
 | 
|  Similar Threads | ||||
| 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 |