View Single Post
Old 01-24-2011, 04:12 PM   #2
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,139
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
You can make as many class types as you want

body.fm to set the body for the Front matter pages
<body class="fm">
or a paragraph class with a different font size

K.I.S.S. in style sheets is good Many IMHO do it backwards.

Set the most used style attributes in the Body (font size, face.

Set the paragraph most used( Margins, indent justification...)


Now set the exceptions (bold, italic, no-indent...)

if done right, most paragraphs would be a simple <p>
A first Paragraph would be an exception <p class="first">

.first style simply sets the margin-left to 0. all the rest is inherited from the p settings
theducks is online now   Reply With Quote