Browse > Home / Thoughts / igoogle.com uses Yahoo YUI grids css styles

| Subcribe via RSS

igoogle.com uses Yahoo YUI grids css styles

July 17th, 2007 Posted in Thoughts

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

Whilst messing around on the igoogle.com (or google.com/ig - whichever url you prefer) in CSSEdit, I spotted one or two familiar looking CSS classes and element names being used, namely #doc3, yui-b, yui-gb and yui-u.

CSSedit

And, indeed, after extracting the style sheet from the site, right down the bottom is the following chunk of CSS:

/* ===============BEGIN BSD LICENSED PORTION============= */
/*
Copyright (c) 2007, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.2.0
*/
#modules .yui-b {
position:static;
display:block;
margin:0 0 1em 0;
float:none;
width:auto;
overflow:hidden;
}
.yui-gb .yui-u {
float:left;
margin-left:2%;
*margin-left:1.895%;
width:32%;
}
.yui-gb div.first {
margin-left:0;
}
#modules,.yui-gb {
zoom:1;
}
/* ===============END BSD LICENSED PORTION============= */

A stripped down version of the Yahoo grid css style sheet, but there it is.

admin

Feeling generous? Why not sponsor my 100km run and send a donation to Oxfam.

One Response to “igoogle.com uses Yahoo YUI grids css styles”

  1. Brian Nelson Says:

    It’s not surprising. The YUI library is very good, and BSD licensed, so they can do what they want with it. :) It’s even better if they contribute any changes to YUI.


Leave a Reply