View Single Post
Old 01-24-2011, 05:09 PM   #4
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,931
Karma: 146918083
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by theducks View Post
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
What has any of that to do with making the text a fixed size?
JSWolf is offline   Reply With Quote