The simple and surefire way is to treat Grids as a blank shell: Put
your HTML inside of Grids' and style only your HTML.
Of course it is possible to add your design's CSS to Grids' nodes
directly. Doing so may be somewhat more efficient (in terms of page
weight, etc), but may introduce some risk (if you change width,
border, margin, padding, position, float, display ... .)
On Apr 1, 2008, at 5:59 AM, Jim Byrne wrote:
> I'm been looking at the YUI CSS grids and would like to adopt the
> approach for a project - but I'm a bit lost as to how I add my own
> styles to the basic grids. I don't mean I don't know how to use CSS, I
> mean what's the best way to apply my own css rules to an existing
> Is there a recommended approach?
> Do I just use the existing id's as hooks for my own extra padding,
> background images, colours and so on? Will this break the grid?
> I've done some searching and browsed the YUI website but can't find
> anything that points me in the right direction.
> Your help is appreciated. Thanks.
> All the best,
> Yahoo! Groups Links