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?