View Single Post
Old 10-08-2011, 11:01 AM   #4
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,099
Karma: 60358908
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 Jamestoo View Post
Thanks for your help. You've clarified several points for me.

A followup question, please: I've been using Front Page 2003 and haven't gained an understanding of CSS that I can see I'll need.

Can a style sheet be used to set as the default font to this relative measure for every page/chapter, or do I need to insert the code for each page?

Thanks!
If you set a font to the <body class="mystyle"> or simply <body> (if all pages will use the same)

the css can support either of the ways:

body {
display: block;
font-family: Calibri;
font-size: 1em;
line-height: normal;
margin-bottom: 0;
margin-left: 2pt;
margin-right: 16pt;
margin-top: 0;
padding-left: 0;
padding-right: 0;
page-break-before: always;
text-align: justify;
}

.mystyle {
display: block;
font-family: Calibri;
font-size: 1em;
line-height: normal;
margin-bottom: 0;
margin-left: 2pt;
margin-right: 16pt;
margin-top: 0;
padding-left: 0;
padding-right: 0;
page-break-before: always;
text-align: justify;
}


I prefer to assign the overall style in the <body> (either way)
and only code style EXCEPTIONS

<p>A regular paragraph</p>
<p class="narrative">And it came to pass... </p>


The normal <p> inherits the <body>
and 'narrative' can have its own style or just modify the body style

ex.
.narrative {font-style: italic}
theducks is online now   Reply With Quote