Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 09-07-2010, 08:07 PM   #1
Adjust
Addict
Adjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel is
 
Adjust's Avatar
 
Posts: 351
Karma: 70000
Join Date: Jul 2010
Location: Australia
Device: ADE, iPad
Spot what's missing in the CSS

Hi Guys I have an epub which validates everywhere and views on everything except ADE (which reverts to unformatted text)
http://i41.photobucket.com/albums/e2...icture1-28.png

It's been suggested that it's because I have something wrong in my CSS file.
I've attached it here in the hope someone can tell me where...

As I've been staring at it for way to long, I can't see the forest for the trees so to speak.

I know it's not the cleanest CSS out there, but it does the job for me...

thanks.
Attached Files
File Type: zip template.zip (1.6 KB, 120 views)
Adjust is offline   Reply With Quote
Advert
Old 09-08-2010, 03:22 AM   #2
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 48,429
Karma: 166330889
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
Quote:
Originally Posted by Adjust View Post
It's been suggested that it's because I have something wrong in my CSS file.
I've attached it here in the hope someone can tell me where...
I checked it with the W3C CSS validator, selecting the CSS 2.0 option.

The problem is right at the top of the file:
Code:
font-family: Arial (TT);
and
Code:
font-family: Times New Roman (TT);
need to be changed to


Code:
font-family: "Arial (TT)";
and
Code:
font-family: "Times New Roman (TT)";
pdurrant is offline   Reply With Quote
Old 09-08-2010, 03:25 AM   #3
Adjust
Addict
Adjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel is
 
Adjust's Avatar
 
Posts: 351
Karma: 70000
Join Date: Jul 2010
Location: Australia
Device: ADE, iPad
ARGH...NUTS!!!!!!!!!!!!!!!

Is that all it was....I'll check when I get into work in the morning.

*bangs head against laptop screen*

Edit. Thanks Paul... I didn't know I could check my CSS code... thanks for the link

Last edited by Adjust; 09-08-2010 at 03:27 AM.
Adjust is offline   Reply With Quote
Old 09-08-2010, 05:20 AM   #4
charleski
Wizard
charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.
 
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
I've been saying for a while now that people need to use the css validator for problems like this. If all the formatting vanishes in your ebook under ADE it's a sign of only one thing - you've made a spelling mistake in the css or left out a semi-colon. The css file needs to be perfect or ADE will throw out everything.
charleski is offline   Reply With Quote
Old 09-09-2010, 08:58 PM   #5
Adjust
Addict
Adjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel is
 
Adjust's Avatar
 
Posts: 351
Karma: 70000
Join Date: Jul 2010
Location: Australia
Device: ADE, iPad
And for the people playing at home...

It turn out that InDesign CS3 WILL put the "" around the font names in the Template.CSS

InDesign CS5 WILL NOT put them in....

Something to look out for
Adjust is offline   Reply With Quote
Advert
Old 09-10-2010, 08:56 AM   #6
pholy
Booklegger
pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.
 
pholy's Avatar
 
Posts: 1,801
Karma: 7999816
Join Date: Jun 2009
Location: Toronto, Ontario, Canada
Device: BeBook(1 & 2010), PEZ, PRS-505, Kobo BT, PRS-T1, Playbook, Kobo Touch
Amazing how some parts of Adobe forget about the standards other parts of Adobe help write!
pholy is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What do you think of the Kindle TV spot? olehosk Amazon Kindle 3 09-25-2010 11:04 PM
Missing covers, missing content. Getting worse with each sync. Mememememe Kobo Reader 7 06-16-2010 09:02 AM
ink spot on screen starbuck Sony Reader 1 09-17-2009 02:13 AM
Spot the irony pshrynk Amazon Kindle 6 04-13-2009 01:55 PM


All times are GMT -4. The time now is 10:34 PM.


MobileRead.com is a privately owned, operated and funded community.