Quote:
Originally Posted by theducks
just add the font-family: "xyz, serif"; to the style= list
I always consider these kinds of hacks, to be fragile.
They probably will NOT get updated correctly if the TOC is regenerated automatically.
|
If I add to the h2 style this way:
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Content</title>
<style type="text/css">
li { list-style-type: none }
a { text-decoration: none }
a:hover { color: red }
</style>
</head>
<body id="calibre_generated_inline_toc">
<h2 style="text-align: center; font-family: Gabriel Weiss' Friends Font, sans-serif;">Content</h2>
indicates this error: Parsing failed: attributes construct error, line 14, column 73 [contents.xhtml:14]
What's the correct syntax?