News for hackers. Stuff that matters.
Re:The Square Grid - New CSS-Grid by CWIZO on Monday October 18, 2010 @09:00AM (#1803270)
I never understood what these CSS "frameworks" are supposed to do for me. Define the width of the two columns on my page? I just don't get it. This is a serious question, I'm not mocking/trolling, so I'd appreciate somebody enlightens me.

edit: thanks for the answers guys. I still don't get it though, it's just a couple of lines of CSS in this "frameworks". Oh well, I guess I just don't get it ...

Re:The Square Grid - New CSS-Grid by edanm on Monday October 18, 2010 @09:04AM (#1803295)
I'm a web developer, but not a designer, and not hugely proficient in CSS. I understand the basics, but it often takes me a while to get things to look the way I want them.

For me, grid frameworks were a revelation - they let me, for the first time, quickly lay out the site with very little pain. Using a framework, I sketch how I'd like the site laid out, and then it's a simple matter of writing a bit of html and adding a few classes to get the layout I want. Working from zero is much harder for me.

Re:The Square Grid - New CSS-Grid by jamesteow on Monday October 18, 2010 @09:04AM (#1803297)
From my perspective as a designer (I make this disclaimer since I could be talking out of my ass), these CSS frameworks seem like an easier way to implement a grid system in a web page. I don't have to define the width of the grid or gutters, I just specify how many columns per row I want. This makes the act of laying out content for me faster than having to code this from scratch.
Re:The Square Grid - New CSS-Grid by brianbreslin on Monday October 18, 2010 @09:07AM (#1803306)
the real purpose of this, and blueprint, and 960.gs is to give you a pre-defined set of layout elements to help in rapid prototyping. The idea being that these frameworks ahve been tested across all browsers.

so in theory (or practice) you can rapidly whip up multi-column layouts without worrying too much about it.

note that these frameworks are often overkill, and come w/a lot of unnecessary weight/code for lots of people.

Re:The Square Grid - New CSS-Grid by gurraman on Monday October 18, 2010 @10:24AM (#1803582)
The frameworks are great for mocking sites up: instead of modifying CSS for every layout you test the framework gives you a few classes with sane defaults that you can easily switch between to align and re-align your columns.

My typical workflow is to include a stylesheet that defines a basic grid and use that when working on the design. Towards deployment I write the grid to my main stylesheet using the elements' proper class-names and ids.

Re:The Square Grid - New CSS-Grid by vladocar on Monday October 18, 2010 @10:13AM (#1803551)
CSS Frameworks are especially useful when you have multi layout page. With few lines of CSS code you can have some complex layout. Other thing is reusability write once use it many times. Here is what you can do with one line of CSS http://www.vcarrer.com/2009/06/1-line-css-grid-framework.htm...