Quote:
Originally Posted by droople
Hi Valloric
I'm trying to define my own font in the epub by add code in style sheet.
After I generate the epub file, I found that all the xthml file not refer to the style sheet.
Here is the code of xthml.
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<link rel="stylesheet" href="../Styles/stylesheet.css" type="text/css" />
<style type="text/css">
/*<![CDATA[*/
h2.sgc-1 {text-align: center;}
/*]]>*/
</style>
</head>
I think it's missing line like
<link rel="stylesheet" type="text/css" href="style.css"/>
Did I do something wrong?
Cheers
|
I placed it yor code in RED, where it normally goes..
Do you even
show a Stylesheet in the book browser list?