YUI Library Home

Site Search (YDN & YUIBlog):

# YUI Library Examples: Reset CSS: Basic Test Suite for YUI Reset

# Reset CSS: Basic Test Suite for YUI Reset

YUI Reset is the lowest-level member of YUI's CSS suite. It normalizes the rendering of the most common HTML elements, neutralizing subtle differences that exist between the browser style sheets among the A-Grade browsers.

View example in new window.

## About This Example

The normalization provided by YUI Reset CSS includes the following characteristics:

- black text on a white page background,
- margin and padding to zero,
- table borders to zero,
- no visual list style (`ol`, `ul`, `dl`),
- all fonts at 100% of base,
- font-weight and font-style to normal,
- better (but still incomplete) font inheritance into forms,
- reduced line-height disruption from `sub` and `sup`.

Open this example is a new window to see a test page of HTML elements with YUI Reset applied.

## Configuration for This Example

You can load the necessary JavaScript and CSS for this example from Yahoo's servers. Click here to load the YUI Dependency Configurator with all of this example's dependencies preconfigured.

### Reset CSS Examples:

### More Reset CSS Resources:

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

Copyright © 2010 Yahoo! Inc. All rights reserved.

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