wting / epub-tools

Automatically exported from code.google.com/p/epub-tools
2 stars 1 forks source link

css file in book data folder is ignored during page displaying by epubjs #32

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. display the chapter html of an uncompressed book in some browser
2. display the same chapter using epubjs
3. formatting is totally different (e.g. colors, fonts, borders, margins ...) 
all book defined css styles are ignored

What is the expected output? What do you see instead?
text formatting according to the css file inside the epub folder

What version of the product are you using? On what operating system?
epub-tools/epubtools/epubjs svn revision 135, Windows 7 

Please provide any additional information below.
I doubt that the css file of the book is loaded, maybe not even found 
because it is in the subfolder where the chapter html file is.
Changing the stylesheet links in the chapters to the subfolder did not make it 
better. Original it was:
<link href="ebook.css" rel="stylesheet" type="text/css"/>

Original issue reported on code.google.com by gnm...@gmail.com on 20 Mar 2012 at 1:21

GoogleCodeExporter commented 9 years ago
I recommend using Monocle rather than epubjs: 
http://monocle.inventivelabs.com.au/

Original comment by liza31337@gmail.com on 20 Mar 2012 at 5:44