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

Go Back   MobileRead Forums > E-Book Software > EPUBReader

Notices

Reply
 
Thread Tools Search this Thread
Old 03-23-2010, 11:10 AM   #1
paulpeer
Zealot
paulpeer is on a distinguished road
 
paulpeer's Avatar
 
Posts: 147
Karma: 56
Join Date: Dec 2009
Location: Antwerpen
Device: iPhone, Sony PRS-505, EPUBreader
EPUBReader doesn't find the CSS file?

I ran into a strange problem. I have an ePub file, which is OK in Validator, in Sigil, in Bookworm, in Stanza, but EPUBReader ignores the CSS file.

Does someone have an idea what is wrong?
Attached Files
File Type: epub monato201005tussen.epub (34.6 KB, 573 views)
paulpeer is offline   Reply With Quote
Old 03-23-2010, 11:50 AM   #2
mikelv
Developer of EPUBReader
mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.
 
Posts: 269
Karma: 1922
Join Date: Oct 2009
Device: none
Quote:
Originally Posted by paulpeer View Post
I ran into a strange problem. I have an ePub file, which is OK in Validator, in Sigil, in Bookworm, in Stanza, but EPUBReader ignores the CSS file.

Does someone have an idea what is wrong?
Hi Paul,

did you try to load the pages directly in Firefox? Does it look different compared to EPUBReader?

Michael
mikelv is offline   Reply With Quote
Advert
Old 03-23-2010, 12:02 PM   #3
paulpeer
Zealot
paulpeer is on a distinguished road
 
paulpeer's Avatar
 
Posts: 147
Karma: 56
Join Date: Dec 2009
Location: Antwerpen
Device: iPhone, Sony PRS-505, EPUBreader
Quote:
Originally Posted by mikelv View Post
did you try to load the pages directly in Firefox? Does it look different compared to EPUBReader?
No, in Firefox the CSS isn't recognized either. In Safari it is perfect.

It's the first time that I see such a phenomenon. In all the other e-books I made, EPUBReader and Firefox do recognize the CSS. So I must be overlooking something ...
paulpeer is offline   Reply With Quote
Old 03-23-2010, 12:13 PM   #4
mikelv
Developer of EPUBReader
mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.
 
Posts: 269
Karma: 1922
Join Date: Oct 2009
Device: none
Quote:
Originally Posted by paulpeer View Post
No, in Firefox the CSS isn't recognized either. In Safari it is perfect.
I had a short look at your css. I've seen that you use "<style>" and "</style>". I guess, that these tags are causing the problem. Please remove them and try it again.
mikelv is offline   Reply With Quote
Old 03-23-2010, 12:22 PM   #5
paulpeer
Zealot
paulpeer is on a distinguished road
 
paulpeer's Avatar
 
Posts: 147
Karma: 56
Join Date: Dec 2009
Location: Antwerpen
Device: iPhone, Sony PRS-505, EPUBreader
Quote:
Originally Posted by mikelv View Post
I had a short look at your css. I've seen that you use "<style>" and "</style>". I guess, that these tags are causing the problem. Please remove them and try it again.
No, that doesn't change a thing. Thanks for trying anyway!
paulpeer is offline   Reply With Quote
Advert
Old 03-23-2010, 12:29 PM   #6
mikelv
Developer of EPUBReader
mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.
 
Posts: 269
Karma: 1922
Join Date: Oct 2009
Device: none
Quote:
Originally Posted by paulpeer View Post
No, that doesn't change a thing. Thanks for trying anyway!
Okay, but you should remove them nevertheless .

I found the problem:

Code:
  <link rel="stylesheet" href="../Styles/Style0001.css" type="test/css" />
You use "test" instead of "text" .
mikelv is offline   Reply With Quote
Old 03-23-2010, 12:36 PM   #7
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
What should it look like? I just brought it up in Seamonkey and it looks ok to me. the only problem I see off hand is the signature is over to the right while the closing greeting is on the left. Have you overridden the default style setting in FF?
DaleDe is offline   Reply With Quote
Old 03-23-2010, 01:47 PM   #8
paulpeer
Zealot
paulpeer is on a distinguished road
 
paulpeer's Avatar
 
Posts: 147
Karma: 56
Join Date: Dec 2009
Location: Antwerpen
Device: iPhone, Sony PRS-505, EPUBreader
Quote:
Originally Posted by mikelv View Post
You use "test" instead of "text" .
O boy, what this small error can cause! But it wasn't my fault ... see here who is the real culprit: https://www.mobileread.com/forums/showthread.php?t=78034 (first response in the thread)
paulpeer is offline   Reply With Quote
Old 03-23-2010, 02:45 PM   #9
paulpeer
Zealot
paulpeer is on a distinguished road
 
paulpeer's Avatar
 
Posts: 147
Karma: 56
Join Date: Dec 2009
Location: Antwerpen
Device: iPhone, Sony PRS-505, EPUBreader
Quote:
Originally Posted by DaleDe View Post
What should it look like? I just brought it up in Seamonkey and it looks ok to me.
Yes, it was OK in every program. None of them saw the typo I made (see posts before this one). Only EUBReader/Firefox saw it. Very interesting experience!
paulpeer 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
Possible to embed fonts in CSS of .lit file? tanzer21 Calibre 9 06-30-2010 07:26 PM
how to import folders in hierachy and css file altogether Jundle Calibre 4 03-29-2010 11:26 PM
Accessing/ re-saving downloaded epub file from within epubreader cklammer EPUBReader 3 12-06-2009 04:59 AM
(2, 'GetDiskFreeSpace', 'The system cannot find the file specified.') fruggeri Calibre 1 11-29-2009 07:17 PM
Can't find converted file! Please help! tiomario Calibre 1 05-15-2009 07:05 PM


All times are GMT -4. The time now is 11:20 AM.


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