View Single Post
Old 02-01-2024, 02:47 PM   #40
paperwhite13
Zealot
paperwhite13 can eat soup with a fork.paperwhite13 can eat soup with a fork.paperwhite13 can eat soup with a fork.paperwhite13 can eat soup with a fork.paperwhite13 can eat soup with a fork.paperwhite13 can eat soup with a fork.paperwhite13 can eat soup with a fork.paperwhite13 can eat soup with a fork.paperwhite13 can eat soup with a fork.paperwhite13 can eat soup with a fork.paperwhite13 can eat soup with a fork.
 
Posts: 131
Karma: 9236
Join Date: Jun 2020
Device: Kindle PW3 [KOReader]
Thank you all for your replies! I understand your reasoning, especially if the TOC gets generated at the end, but keeping in mind my case -- I already have the TOC generated from InDesign, what would be wrong about using this? Wouldn’t it be semantically correct? I though I was just getting the hang of this

Code:
h1 {
	font-family:"Font1", sans-serif;
	font-size:2em;
	font-style:normal;
	font-weight:normal;
	border-width:0;
	margin-bottom:5%;
	margin-left:0;
	margin-right:0;
	margin-top:10%;
	text-align:center;
	text-indent:0;
	padding:0;
}
h1.chapter-no {
	font-family:"Font2", serif;
	font-size:1em;
	margin-bottom:0;
	margin-top:5%;
}
------------------
<h1 class="chapter-no">1.</h1>
<h1 id="_idParaDest-3"><a id="_idTextAnchor005"></a>>Chapter Title</h1>

Last edited by paperwhite13; 02-01-2024 at 02:52 PM. Reason: code
paperwhite13 is offline   Reply With Quote