Quote:
Originally Posted by ariefcfa
Hi,
I need help about creating Table of Contents like below:
I try to look at the Calibre's Edit Book, part of the code are:
Spoiler:
Code:
<head>
<title>Readability - 09/23/14</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link href="stylesheet.css" rel="stylesheet" type="text/css"/>
<link href="page_styles.css" rel="stylesheet" type="text/css"/>
</head>
<body class="calibre">
<h1 id="filepos212" class="calibre1">Readability - 09/23/14</h1>
<ul class="calibre2">
<li class="calibre3">
<a href="index_split_001.html#filepos1865">The Failure of the UN: Rebuilding from the Ruins</a>
</li>
and the sytlesheet.css for "calibre2" and "calibre3" are:
Code:
.calibre_2 {
color: black;
font-size: 0.75em
}
.calibre1 {
display: block;
font-size: 1.5em;
font-weight: bold;
line-height: 1.2;
margin: 0.67em 0
}
|
Considering the code snippet you posted uses ul (
Unordered
List) and li (
List
Item) tags, it's going to display as a list. You might want to locate a book where the table of contents is wrapped as in your sample and see how that code is written. Better yet, locate 3 or 4 books. Then it's research not plagiarism.