08-13-2010, 05:19 AM | #1 | ||
Member
Posts: 12
Karma: 10
Join Date: Aug 2010
Device: none
|
CSS not accepted by Adobe Digital Reader
Hi,
having come across a strange problem that I could not find via the search function in this forum, I am posting, hoping that one of you may be able to shed light on this: Using InDesign CS5 I created an epub version of a print book. After hours and hours of formatting it looks good. Or rather, it looks good on Sigil, calibre, firefox readers. But Adobe Digital Reader will not take the style sheet. In my despair, I copied the entire stylesheet into one of the html files, between Quote:
Now it is not exactly the purpose of a style sheet to get copied into each html file, is it? So how can I get the "$&("$&!!!!! Adobe digital reader to except the style sheet that lays in Styles/template.css?? The beginning of my html looks like this: Quote:
Help would be much appreciated! Thanks, Lily. |
||
08-13-2010, 08:34 AM | #2 |
Wizard
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
|
ADE is extremely fussy about errors in the css file. One single missing semicolon or spelling mistake will cause it to throw out everything. Run your css file through a validator to check for any errors.
|
Advert | |
|
08-13-2010, 09:23 AM | #3 |
Member
Posts: 12
Karma: 10
Join Date: Aug 2010
Device: none
|
Thank you! I will try that!
Lily. |
08-13-2010, 09:31 AM | #4 | |
Member
Posts: 12
Karma: 10
Join Date: Aug 2010
Device: none
|
Yikes!!! Looks, like I have a slew of problems.
Unfortunately this is in German. BUT, a big hick-up seem to be font-family, font-style and font-weight. Ere there different expressions for this I should be using? Ok fonds could be replaced, but weight bein bold. I cannot imagine that it has a problem with that...??? Do you have any ideas? Lily. Quote:
|
|
08-13-2010, 09:47 AM | #5 |
Member
Posts: 12
Karma: 10
Join Date: Aug 2010
Device: none
|
BTW with CSS3 check the amount of errors is greatly reduced. But which one is relevant for the Adobe digital reader?
|
Advert | |
|
08-13-2010, 09:48 AM | #6 |
Wizard
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
|
Ok, ignore the errors about fonts, the validator is just complaining that it can't see the font files. It looks like you're mixing in some CSS3 stuff with the border radius, but ADE should just ignore that (I think). The last error is probably the one causing the problem "146 h2.heading disc reading error text-decoration: none" according to google translate - looks like your css file has been chopped off prematurely.
|
08-13-2010, 10:29 AM | #7 |
Member
Posts: 12
Karma: 10
Join Date: Aug 2010
Device: none
|
Ok. I'll have a look.
I think I'll clean up the CSS. Looks like InDesign dumped a whole load of superfluous stuff in there, too. I mean, I don't need a "text-decoration: none;2 which is giving me an error message, anyway. Many, many thanks for your help!! I'll get back to tell you what happened.... Lily. |
08-13-2010, 01:31 PM | #8 |
Member
Posts: 12
Karma: 10
Join Date: Aug 2010
Device: none
|
Hi Charleski,
That was it! THank you so much for your help. After deleting tons of stuff, ADR is accepting my style sheets. I went a bit overboard, so I need to reconstruct parts but this is a lot easier than the problem I had before. Many, many thanks for your help!!!! Lily. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ipod touch and adobe digital reader | janice336 | Apple Devices | 6 | 07-06-2010 06:24 PM |
PRS-300 Adobe Digital Editions, Reader Library or both? | shmish | Sony Reader | 5 | 02-14-2010 05:34 PM |
ECO Reader - Adobe Digital Editions Help | Suzannec | HanLin eBook | 6 | 10-23-2009 10:12 AM |
adobe digital and sony reader prob | cosmic joke | Sony Reader | 12 | 01-22-2009 08:57 PM |
Sony Reader to support Adobe Digital Editions | dandan77 | Sony Reader | 8 | 06-26-2007 11:32 PM |