Back to Home | Help Center | Log Out
 Help Center
 
Help Center

Home

Crawl and Index

Serving

Status and Reports

Administration

More Information
  Rules for Valid URL Patterns
  Crawling and Indexing
  Spelling
  Hexadecimal Notation
  Font Families
  Security and Error Handling
  Search Protocol Reference
  Index

Appendix E: Font Families

Rather than specify fonts for web pages, it is good practice to specify Font Families so that reasonable fonts are presented, no matter what fonts are on a user's computer.

Not all browsers display text the same way. You will want to test your results on all common browsers.

To set the font, enter the name of the font you want, such as Arial, FranklinGothic, or Helvetica. In addition, you can specify a generic font such as serif, sans-serif, cursive, fantasy, or monospace. You can list choices, separated by commas; the browser will attempt to provide the first choice if it exists on the computer, then will try the second choice, and so on. Put the generic font last.

For example, in the Stylesheet:

<xsl:variable name=
  "global_font">verdana,sans-serif</xsl:variable>

You can read more about fonts and Font Families here.

http://www.w3.org/MarkUp/Guide/Style.html
http://www.w3.org/TR/REC-CSS2/fonts.html#font-family-prop


 

 
© Google Inc. 2007