diff -r 000000000000 -r 40c8f766c9b8 src/cm/media/js/lib/yui/yui_3.0.0b1/examples/cssreset/cssreset-context.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cm/media/js/lib/yui/yui_3.0.0b1/examples/cssreset/cssreset-context.html Mon Nov 23 15:14:29 2009 +0100 @@ -0,0 +1,132 @@ + + + + + YUI Library Examples: CSS Reset: Contextual Example + + + + + + + + + + + +
+
+
+

+ + YUI 3.x Home - + +

+
+ + +
+ + + +
+
+
+
+

YUI Library Examples: CSS Reset: Contextual Example

+
+
+ +

Note: This is YUI 3.x. Looking for YUI 2.x?

+ +
+
+
+
+ +

CSS Reset: Contextual Example

+ +
+

+

When CSS Reset is included in a page it applies rules to all HTML elements via type selectors like this: h1 {margin:0;}. An alternate version, -context.css, uses only descendent selectors like this: .yui-cssreset h1 {margin:0;}. This means you can put that class value on a node in your document to choose which region(s) of your page CSS Reset will be applied to.

+

+ +
+
+ +

+ + + View example in new window. + + +

+ + +
+
+
+ + +
Note:
+

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

+ +
+ +
+
+ + + +
+ +
+

Copyright © 2009 Yahoo! Inc. All rights reserved.

+

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

+
+
+ + + +