View Single Post
Old 10-06-2021, 11:16 AM   #12
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,361
Karma: 20212223
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by FrankJH View Post
Thanks for your offer.

Maybe sometimes it's not the best idea to update an existing system ... I'm not so familar with updating python modules, maybe the problem is located elsewhere, maybe my mistake ... otherwise I have to consider a complete new installation of the software ...

To see the problem, I created a simple new epub called "sample.epub".

I use my original stylesheet and linked it ... a span class "bluebold" (see below) is defined in the styleheet, but the formatting

span.bluebold {
color: #0066cc;
font-weight: bold;
}

won't appear in the preview - any idea what could be the cause?

Best wishes, Frank

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops">
<head>
<title></title>
<link href="../Styles/sgc-nav.css" type="text/css" rel="stylesheet"/>
</head>

<body>
<p>saasa</p>
<span class="bluebold">Some Text</span>
</body>
</html>
I'm not saying this is the cause of your problem, but just something I noticed.

Usually a span will be inside a block element:

Code:
<p><span class="bluebold">Some Text</span></p>
edit:
It does work...just not normal... and I understand it is just a sample.
Regardless - it also previews properly on my windows10 x64

Last edited by Turtle91; 10-06-2021 at 11:26 AM.
Turtle91 is offline   Reply With Quote