View Single Post
Old 12-04-2021, 06:55 AM   #3
Buhaj
Groupie
Buhaj ought to be getting tired of karma fortunes by now.Buhaj ought to be getting tired of karma fortunes by now.Buhaj ought to be getting tired of karma fortunes by now.Buhaj ought to be getting tired of karma fortunes by now.Buhaj ought to be getting tired of karma fortunes by now.Buhaj ought to be getting tired of karma fortunes by now.Buhaj ought to be getting tired of karma fortunes by now.Buhaj ought to be getting tired of karma fortunes by now.Buhaj ought to be getting tired of karma fortunes by now.Buhaj ought to be getting tired of karma fortunes by now.Buhaj ought to be getting tired of karma fortunes by now.
 
Buhaj's Avatar
 
Posts: 181
Karma: 278068
Join Date: Dec 2014
Location: Poland
Device: Kobo Libra 2 & Sage, Kindle PW3
I checked the HTML from the ebook above, and it has the following code:

Code:
<p class="tyt-1">1948–1989</p> 			<p class="tyt-2">1.</p>
The styles sheet has the following setting:

Code:
.tyt-1{
	font-family: AlegreyaSansSC;
	font-size: 1.6em;
	margin-bottom: 1em;
	text-align: center;
	text-indent: 0em;
}

.tyt-2{
	font-family: AlegreyaSansSC;
	font-size: 1.6em;
	font-style: normal;
	font-weight: bold;
	margin-bottom: 1em;
	margin-top: 2em;
	text-align: center;
	text-indent: 0em;
How can I ensure text allignment stays in place?
Buhaj is offline   Reply With Quote