View Single Post
Old 05-29-2015, 03:23 AM   #8
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,560
Karma: 20150435
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
You should not use <h1> and <h3> for the title page. They are intended for hierarchical headings (chapters, sections...) not for "large, bold and centered".

Use:

Code:
<div class="title">The Title</div>

<div class="author">An Author</div>
and style them as you wish.

Quote:
Because I use the H1 elsewhere and don't want the spacing there.
Huh? Then why use style="text-align:left"? You could specify the bottom margin in the same way here, but as I said, don't use <h1>. The fact that you have to alter the style for this particular case, and skip <h2>, is an indication that that's not a good solution.
Jellby is offline   Reply With Quote