Quote:
Originally Posted by Jamestoo
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}