Forum Moderators: open

Message Too Old, No Replies

Frontpage default font settings

         

gabby

10:55 pm on Apr 20, 2005 (gmt 0)

10+ Year Member



I am using FP 2002. I have set every possible option I can find so that the default font is Arial. Yet when I create a new page it reverts to Arial Serif. I have to highlight the text and change it to Arial. How do I set the default permanently to Arial?

jimbeetle

12:20 am on Apr 21, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



If you use Page Options > Default Fonts, you can set the character sets and the default proportional and fixed width fonts.

But, that is only for preview purposes on a local machine when a font is not specified. If served from the web (or even from a server on a local machine such as IIS), the user's browser preferences will prevail.

The only thing included in the basic FP html is the charset--no font tags or any other type of styling is included, as in this bare-bones FP-generated code:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>now is the time</title>
</head>
<body>
now is the time
</body>
</html>

So, without font information the browser will fall back on what its preferences are. To display the fonts you want in a page you have to spec the font in either the html or using css.

I skipped over FP 2002, so don't know what support it has for templates, you might want to look into that. Otherwise, simply linking to an external CSS stylesheet will help a bunch:

<link rel="stylesheet" type="text/css" href="yourstylesheet.css">

Frontpage has pretty good support for CSS. I'd recommend popping over to the experts at the W3C [w3c.org] and start getting a handle on the formatting properties in CSS1.