View Single Post
Old 03-06-2015, 03:39 AM   #24
oiver55
Enthusiast
oiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windowsoiver55 format shifts faster than booting Windows
 
Posts: 43
Karma: 120648
Join Date: Feb 2015
Device: kindle
The TOC

On the Sigil when I click on Chapter one I believe it is suppose to bring you to the anchor "chapter01" but nothing happens. Here is the code for my TOC.

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!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>How to kill your loved ones with Food and get away with it</title>
<link href="../Styles/epub.css" rel=" stylesheet" type=" text/ css" />
</head>

<body>
<h2 id="toc" style="text-align: center;">Contents</h2>

<p class="center" style="text-align: center;"><a href="#chapter01">Chapter One</a></p>

<p class="center" style="text-align: center;"><a href="#chapter02">Chapter Two</a></p>

<p class="center" style="text-align: center;"><a href="#chapter03">Chapter Three</a></p>

<p class="center" style="text-align: center;"><a href="#chapter04">Chapter Four</a></p>

<p class="center" style="text-align: center;"><a href="#chapter05">Chapter Five</a></p>

<p class="center" style="text-align: center;"><a href="#copy">Copyright - About the Author</a></p>
</body>
</html>



And here is the code for chapter 1,

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!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>How to kill your loved ones with Food and get away with it</title>
<link href="../Styles/epub.css" rel=" stylesheet" type=" text/ css" />
</head>

<body>
<!--And now the text chapters, as many as you like-->

<p class=" breakhere"></p>

<h2 id="chapter01">Chapter One</h2>

<p class="first"><!--The first paragraph is flush left with a few words capitalized--></p>

<p><!--Following paragraphs are indented, and each ends with a closing tag--></p>

<div>
<br />
</div>
</body>
</html>
oiver55 is offline   Reply With Quote