09-21-2010, 05:36 AM | #1 |
Enthusiast
Posts: 49
Karma: 14
Join Date: Jul 2010
Location: Harrogate, England
Device: iPad
|
css exceptions
If I have this right, the ePub standard officially supports all css properties (and a couple more), however not all devices do so.
For example iBooks on iPad appears to ignore top and bottom margins (though I've not tried to track that down yet). Are there any resources which note these discrepencies? If not, and I made a web site database thingy that let people register css / device / epub oddities, would there be any interest in the community filling it in? (by the way, if the answer is yes, I'd be happy to receive suggestions as to what could be included...) Iain |
09-23-2010, 11:46 AM | #2 |
Junior Member
Posts: 9
Karma: 10
Join Date: Sep 2010
Device: All of the above
|
I'm not sure as to the entirety of what is supported on the ipad and not however I can tell you that margins are supported. I export my epubs from indesign and indesign automatically applies any spacing in the paragraph style as margin or text-indent. The ipad honors those values in turn.
What the ipad does NOT support is the page-break property, widows and orphans and more. Nor of course does it support embedded fonts. You have 6 on the ipad to select from, and in the case of non-roman languages, it appears to be only 1 font. Hope that helps, All the best/c |
Advert | |
|
09-24-2010, 09:32 AM | #3 |
Enthusiast
Posts: 49
Karma: 14
Join Date: Jul 2010
Location: Harrogate, England
Device: iPad
|
Thanks - I've now checked that the margins (I was concerned with top and bottom) and they are supported. So I need to look elsewhere to find out where this gap is going
Iain |
09-24-2010, 09:39 AM | #4 |
Junior Member
Posts: 9
Karma: 10
Join Date: Sep 2010
Device: All of the above
|
Could you post the relevant source code?
|
10-01-2010, 04:42 AM | #5 |
Enthusiast
Posts: 49
Karma: 14
Join Date: Jul 2010
Location: Harrogate, England
Device: iPad
|
I'm too embarrased. I was putting commas between the numbers in the margin: statements in the css file.
I've found a project intended to check epub compliance with standards (http://code.google.com/p/epub-conform/). However, it is somewhat cumbersome to use (especially when you are trying to test iPad - adding hundreds of 'compliance' epubs is awkward. Also, of the ones I've tried out with Calibre on the PC, most seem to indicate a non-conformance, but it's hard to see exactly what's happening. I'm looking at using these as a basis for some longer epubs so that one can test compliance with only a few docs, but I'm not sure where I'm going to find the time Iain |
Advert | |
|
10-07-2010, 11:24 AM | #6 | |
Chocolate Grasshopper ...
Posts: 27,599
Karma: 20821184
Join Date: Mar 2008
Location: Scotland
Device: Muse HD , Cybook Gen3 , Pocketbook 302 (Black) , Nexus 10: wife has PW
|
Quote:
Why not use the mobileread wiki - I'm sure I'm not the only one who would appreciate guides to what is acceptable in coding up ePubs and all the 'unfortunate' quirks! |
|
10-08-2010, 03:39 AM | #7 | |
Enthusiast
Posts: 49
Karma: 14
Join Date: Jul 2010
Location: Harrogate, England
Device: iPad
|
Quote:
I think it the sort of thing which a database would suit better than a wiki. Iain |
|
10-08-2010, 03:45 AM | #8 | |
Addict
Posts: 351
Karma: 70000
Join Date: Jul 2010
Location: Australia
Device: ADE, iPad
|
Quote:
|
|
Tags |
css, upub |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CSS and firmware V1.4? | thp1017 | Kobo Reader | 6 | 07-26-2010 05:11 PM |
help with css | bobcdy | ePub | 2 | 02-13-2010 11:59 AM |
Help with CSS, anyone? | rogue_ronin | Workshop | 36 | 08-14-2009 09:28 PM |
getting lots of unhanded exceptions at startup | jquest | Calibre | 6 | 07-30-2009 10:55 PM |