@mixin yui_grid($namespace:'') {

    // Copyright (c) 2010, Yahoo! Inc. All rights reserved.
    // Code licensed under the BSD License:
    // http://developer.yahoo.com/yui/license.html
    // version: 3.3.0
    // build: 3167

    .#{$namespace}yui3-g {
        letter-spacing: -.31em; // webkit: collapse white-space between units
        *letter-spacing: normal; // reset IE < 8
        word-spacing: -.43em; // IE < 8 && gecko: collapse white-space between units
        text-rendering: optimizespeed; // Webkit: fixes text-rendering: optimizeLegibility
    }

    // Opera as of 12 on Windows needs word-spacing.
    // The ".opera-only" selector is used to prevent actual prefocus styling
    // and is not required in markup.

    .opera-only :-o-prefocus,
    .#{$namespace}yui3-g {
        word-spacing: -.43em;
    }

    .#{$namespace}yui3-u {
        display: inline-block;
        zoom: 1; *display: inline; // IE < 8: fake inline-block
        letter-spacing: normal;
        word-spacing: normal;
        vertical-align: top;
        text-rendering: auto;
    }

    .#{$namespace}yui3-u-1,
    .#{$namespace}yui3-u-1-2,
    .#{$namespace}yui3-u-1-3,
    .#{$namespace}yui3-u-2-3,
    .#{$namespace}yui3-u-1-4,
    .#{$namespace}yui3-u-3-4,
    .#{$namespace}yui3-u-1-5,
    .#{$namespace}yui3-u-2-5,
    .#{$namespace}yui3-u-3-5,
    .#{$namespace}yui3-u-4-5,
    .#{$namespace}yui3-u-1-6,
    .#{$namespace}yui3-u-5-6,
    .#{$namespace}yui3-u-1-8,
    .#{$namespace}yui3-u-3-8,
    .#{$namespace}yui3-u-5-8,
    .#{$namespace}yui3-u-7-8,
    .#{$namespace}yui3-u-1-12,
    .#{$namespace}yui3-u-5-12,
    .#{$namespace}yui3-u-7-12,
    .#{$namespace}yui3-u-11-12,
    .#{$namespace}yui3-u-1-24,
    .#{$namespace}yui3-u-5-24,
    .#{$namespace}yui3-u-7-24,
    .#{$namespace}yui3-u-11-24,
    .#{$namespace}yui3-u-13-24,
    .#{$namespace}yui3-u-17-24,
    .#{$namespace}yui3-u-19-24,
    .#{$namespace}yui3-u-23-24 {
        display: inline-block;
        zoom: 1; *display: inline; // IE < 8: fake inline-block
        letter-spacing: normal;
        word-spacing: normal;
        vertical-align: top;
        text-rendering: auto;
    }

    .#{$namespace}yui3-u-1 {
        display: block;
        width: auto;
    }

    .#{$namespace}yui3-u-1-2 {
        width: 50%;
    }

    .#{$namespace}yui3-u-1-3 {
        width: 33.33333%;
    }

    .#{$namespace}yui3-u-2-3 {
        width: 66.66666%;
    }

    .#{$namespace}yui3-u-1-4 {
        width: 25%;
    }

    .#{$namespace}yui3-u-3-4 {
        width: 75%;
    }

    .#{$namespace}yui3-u-1-5 {
        width: 20%;
    }

    .#{$namespace}yui3-u-2-5 {
        width: 40%;
    }

    .#{$namespace}yui3-u-3-5 {
        width: 60%;
    }

    .#{$namespace}yui3-u-4-5 {
        width: 80%;
    }

    .#{$namespace}yui3-u-1-6 {
        width: 16.656%;
    }

    .#{$namespace}yui3-u-5-6 {
        width: 83.33%;
    }

    .#{$namespace}yui3-u-1-8 {
        width: 12.5%;
    }

    .#{$namespace}yui3-u-3-8 {
        width: 37.5%;
    }

    .#{$namespace}yui3-u-5-8 {
        width: 62.5%;
    }

    .#{$namespace}yui3-u-7-8 {
        width: 87.5%;
    }

    .#{$namespace}yui3-u-1-12 {
        width: 8.3333%;
    }

    .#{$namespace}yui3-u-5-12 {
        width: 41.6666%;
    }

    .#{$namespace}yui3-u-7-12 {
        width: 58.3333%;
    }

    .#{$namespace}yui3-u-11-12 {
        width: 91.6666%;
    }

    .#{$namespace}yui3-u-1-24 {
        width: 4.1666%;
    }

    .#{$namespace}yui3-u-5-24 {
        width: 20.8333%;
    }

    .#{$namespace}yui3-u-7-24 {
        width: 29.1666%;
    }

    .#{$namespace}yui3-u-11-24 {
        width: 45.8333%;
    }

    .#{$namespace}yui3-u-13-24 {
        width: 54.1666%;
    }

    .#{$namespace}yui3-u-17-24 {
        width: 70.8333%;
    }

    .#{$namespace}yui3-u-19-24 {
        width: 79.1666%;
    }

    .#{$namespace}yui3-u-23-24 {
        width: 95.8333%;
    }

    .#{$namespace}yui3-u-none {
        display: none;
    }

    .#{$namespace}yui3-force-block {
        display: block !important;
    }

    .#{$namespace}yui3-force-none {
        display: none !important;
    }

    .#{$namespace}yui3-pull-left {
        float: left;
    }

    .#{$namespace}yui3-pull-right {
        float: right;
    }

    .#{$namespace}yui3-pull-none {
        float: none;
    }

}
