PDA

View Full Version : Backup Text


Magic Dust
06-17-2006, 05:37 PM
Hello,
How do I make a back up font type on Frontpage if one of my visitors doesn't have the initial font that I have used in my site?

MandyJay
06-18-2006, 02:21 AM
Hi,
You need to use "styles" and then you can add other fonts. Here I have applied the fonts to Table Cells

<style>
<!--
td {font-family: verdana, arial, tahoma, Helvetica, sans-serif;}
-->
</style>

The first font to show will be Verdana, if user doesnt have, then arial will be used and so on. It is always recommended to have a sans-serif font too - don't use Times New Roman which was intended for printed documents not websites. Using styles you don't then specify the font within the document.

But what you must watch, is that not all fonts are of the same size. Verdana 10pt is larger than Arial 10pt, so compare the size of the font you want to use with your subsitutions to make sure they are comparible size wise.

MJ

Magic Dust
06-18-2006, 02:10 PM
Thanks for the reply MandyJay. But I'm still a little unclear on how to do this on Frontpage. I go to format > styles and then well I kind of lose it. I'm not too familar with style sheets and how to work them.

MandyJay
06-18-2006, 02:21 PM
Hi,
to use style sheets then you need to click on file/new page and select the default blank style sheet template, save it as something like "stylesheet" and in the drop down box instead of saving as web page save it as a style sheet. Then you want to copy the below and paste it into the style sheet

td {font-family: verdana, arial, tahoma, Helvetica, sans-serif;}


changing the fonts as you wish.

Then you have to add the style sheet to all your pages. So open any page up and in normal view, click on Format/style sheet links and browse to where you saved the stylesheet and make sure in the box you check "all pages" ....

MJ