03-12-2013, 12:30 PM | #1 |
Zealot
Posts: 104
Karma: 20
Join Date: Jun 2011
Location: County Down, Northern Ireland
Device: none
|
svg wrappers for epub covers
Following my recent post on optimal cover sizes for epubs I have created an epub using an svg wrapper for the first time. I did try giving the cover image an id and put the height and width attributes for it into the stylesheet, but that didn't appear to work. However, with the attributes placed directly in the image tag the cover appeared without a problem in Sigil, and subsequently in iBooks on the iPad.
Is there somewhere on the forum where you can submit epubs for others to check to see if there are any issues on their (other) devices? |
03-12-2013, 01:29 PM | #2 |
Resident Curmudgeon
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
You can do so in this thread or you could start a new tread.
|
03-12-2013, 02:00 PM | #3 |
Zealot
Posts: 104
Karma: 20
Join Date: Jun 2011
Location: County Down, Northern Ireland
Device: none
|
In the Celtic Past - epub for cover testing
Attached is the epub I created using an svg wrapper for the cover (for the first time), if anybody feels inclined to check it out for display issues.
It's only a plain "working" cover, btw. |
03-12-2013, 04:57 PM | #4 | |
Resident Curmudgeon
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
For the text, I'd like to make some suggestions. Lose the space between the paragraphs and put in an indent. It will look much nicer. Last edited by JSWolf; 03-12-2013 at 04:59 PM. |
|
03-13-2013, 05:10 AM | #5 |
Zealot
Posts: 104
Karma: 20
Join Date: Jun 2011
Location: County Down, Northern Ireland
Device: none
|
Great! Can't thank you enough. I've nearly traumatized myself in trying to decide whether to space paragraphs or use indents in ebooks, but opted for the former as it's the lazy way out - no need to put in lots of class="noindent" tags. However, in a simple book like the attached it's no great deal and I'll change that forthwith.
|
03-13-2013, 11:14 AM | #6 | |
Resident Curmudgeon
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Code:
p { margin-top: 0; margin-bottom: 0; text-indent: 1.2em } |
|
03-13-2013, 11:23 AM | #7 |
frumious Bandersnatch
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Chances are you don't even need class="noindent", if all the instances can be catched with selectors like h2+p or div.scenebreak+p.
|
03-13-2013, 11:41 AM | #8 | |
Resident Curmudgeon
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
<p class="spacebreak"> .spacebreak { margin-top: 2em; text-indent: 0 } I would also keep the noindent class. It's just easier reading the code. |
|
03-14-2013, 07:41 AM | #9 |
Connoisseur
Posts: 70
Karma: 515184
Join Date: Sep 2011
Location: Brasília
Device: Kindle3, iPad, Nook, Kobo, Positivo Alfa
|
A small suggestion to improve cover display in Adobe Digital Editions: add the following CSS property to the body tag (or to an enclosing DIV) in the cover HTML to prevent automatic column creation.
Code:
body { oeb-column-number: 1; } |
03-14-2013, 09:12 AM | #10 | |
Resident Curmudgeon
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SVG mess in my epub | Iznogood | ePub | 2 | 12-31-2012 08:55 PM |
epub from SVG files | sachin | ePub | 7 | 05-11-2012 09:04 AM |
Creating internal links in EPUB from svg image | ecojon | ePub | 1 | 03-26-2012 12:37 PM |
EPub: Bilder mit <svg> einbinden | mmat1 | Erste Hilfe | 10 | 02-27-2012 09:46 AM |
SVG Covers | paulfiera | Calibre | 2 | 07-30-2011 08:37 PM |