Yahoo! Developer Network Home - Help

YDN Site Search

# YUI Library Examples: Fonts CSS: Setting the font family

# Fonts CSS: Setting the font family

With YUI Fonts CSS in place, you can specify just the font family you want and let YUI Fonts handle the alternative-font degradation path if your desired font is missing from the user's system.

View example in new window.

## About This Example

This example shows how to specify font families.

Because CSS examples are susceptible to other CSS on the page, this example is only available in a new window at the above link.

### Fonts CSS Examples:

- Basic Test Suite for YUI Fonts
- Setting the font size
- Setting the font family

### More Fonts CSS Resources:

- User's Guide (external)
- API Documentation
- Cheat Sheet PDF (external)

Copyright © 2007 Yahoo! Inc. All rights reserved.

Privacy Policy - Terms of Service - Copyright Policy - Job Openings