View Single Post
Old 05-26-2012, 02:52 PM   #45
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,141
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by JSWolf View Post
That's a bit of code bloat I would say. Why not just use...

Code:
<h2>Chapter 1</h2>
and then set h2 as you want for the chapter titles in the CSS?

Code:
h2 {
margin-top: .75em;
margin-bottom: 1em;
text-align: center
}
Because I might want to use h2 for other things (Sigil does allow them to be marked not in TOC ) with other style.

My chapno usually has Chapter head Margins (and padding for off center placement).
Sheesh! that bloat is minimal. There are lots more frequently (mis)used styling in every single paragraph.
theducks is offline   Reply With Quote