Quantcast
Channel: MobileRead Forums - Devices
Viewing all articles
Browse latest Browse all 3328

CSS files not always "recognized" in tolino page

$
0
0
I have edited two books using calibre (Add books -> add empty book), both of them use a .css file where I define all styles. The problem is that in only one of the two books I actually see the effect of .css in my tolino device.

Here are the two metadata files:
1) WORKS

Code:

<?xml version="1.0"  encoding="UTF-8"?>
<package xmlns="http://www.idpf.org/2007/opf" unique-identifier="uuid_id" version="2.0" prefix="calibre: https://calibre-ebook.com">
  <metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf">
    <dc:title>Nutritional quality of organic food: a systematic review</dc:title>
    <dc:creator opf:role="aut" opf:file-as="utente01">utente01</dc:creator>
    <dc:identifier opf:scheme="uuid" id="uuid_id">690c02b0-b093-469c-852d-8915d18625f2</dc:identifier>
    <dc:contributor opf:file-as="calibre" opf:role="bkp">calibre (3.13.0) [https://calibre-ebook.com]</dc:contributor>
    <dc:date>0101-01-01T00:00:00+00:00</dc:date>
    <dc:language>it</dc:language>
    <dc:identifier opf:scheme="calibre">090c685a-44c6-4720-98ff-72bbf3111266</dc:identifier>
    <meta content="{&quot;utente01&quot;: &quot;&quot;}" name="calibre:author_link_map"/>
    <meta name="calibre:title_sort" content="Nutritional quality of organic food: a systematic review"/>
    <meta name="cover" content="cover"/>
  </metadata>
  <manifest>
    <item href="titlepage.xhtml" id="titlepage" media-type="application/xhtml+xml"/>
    <item href="start.xhtml" id="start" media-type="application/xhtml+xml"/>
    <item href="toc.ncx" id="ncx" media-type="application/x-dtbncx+xml"/>
    <item href="./style.css" id="styleshee" media-type="text/css"/>
    <item href="style.css" id="id" media-type="text/css"/>
    <item href="journal_logo.gif" id="cover" media-type="image/gif"/>
  </manifest>
  <spine toc="ncx">
    <itemref idref="titlepage"/>
    <itemref idref="start"/>
  </spine>
  <guide>
    <reference href="titlepage.xhtml" title="Copertina" type="cover"/>
  </guide>
</package>

file tree:
./
titlepage.xhtml
start.xhtml
style.css



2) DOES NOT WORK

Code:

<?xml version="1.0"  encoding="UTF-8"?>
<package xmlns="http://www.idpf.org/2007/opf" unique-identifier="uuid_id" version="2.0" prefix="calibre: https://calibre-ebook.com">
  <metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf">
    <dc:title>Sconosciuto</dc:title>
    <dc:creator opf:role="aut" opf:file-as="Science">Science</dc:creator>
    <dc:identifier opf:scheme="uuid" id="uuid_id">2e744e7a-1da6-4e68-86d3-c2f521141b67</dc:identifier>
    <dc:contributor opf:file-as="calibre" opf:role="bkp">calibre (3.13.0) [https://calibre-ebook.com]</dc:contributor>
    <dc:date>0101-01-01T00:00:00+00:00</dc:date>
    <dc:language>it</dc:language>
    <dc:identifier opf:scheme="calibre">37adb220-f728-4596-b297-40a6c094dc8a</dc:identifier>
    <meta content="{&quot;Science&quot;: &quot;&quot;}" name="calibre:author_link_map"/>
    <meta name="cover" content="cover"/>
  </metadata>
  <manifest>
    <item href="titlepage.xhtml" id="titlepage" media-type="application/xhtml+xml"/>
    <item href="start.xhtml" id="start" media-type="application/xhtml+xml"/>
    <item href="article.xhtml" id="id" media-type="application/xhtml+xml"/>
    <item href="toc.ncx" id="ncx" media-type="application/x-dtbncx+xml"/>
    <item href="./style.css" id="stylesheet1" media-type="text/css"/>
    <item href="style.css" id="id1" media-type="text/css"/>
    <item href="56af5d9acf4937f5582bf5d7.png" id="cover" media-type="image/png"/>
  </manifest>
  <spine toc="ncx">
    <itemref idref="titlepage"/>
    <itemref idref="start"/>
    <itemref idref="id"/>
  </spine>
  <guide>
    <reference href="titlepage.xhtml" title="Copertina" type="cover"/>
  </guide>
</package>

file tree:

./
titlepage.xhtml
start.xhtml
article.xhtml
style.css

In all xhtml files I include the style.css!

Please, can you help me?

Viewing all articles
Browse latest Browse all 3328

Trending Articles