View Single Post
Old 04-24-2008, 12:33 PM   #5 (permalink)
Salathe
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
Salathe is on a distinguished road
Default

It seem that iGoogle uses a tiny section of YUI Grids CSS (properly attributed to Yahoo) to lay out their modules.

If this amount of CSS can make Google look bad, that's your own opinion, but I feel they're simply making good use of a good resource.

From: http://www.google.com/ig/skins/carbon_footprint/carbon_footprint_footprint_sprite.css
CSS Code:
/* ===============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============= */
Salathe is offline  
Reply With Quote