Last week I talked about 960 Grid System is Getting Old. Surprisingly a lot of comments have been made. It seems like people are using 960gs because of the "golden ratio" — all numbers are even. I'm a designer, not a grid scientist. Why restrict your layout so that it can fit into this 960gs? A grid is supposed to help you in design, not to limit your creativity. The 978 grid, that I mentioned before, is not just about increasing the page width, but to loosen the gutter space so users can read it more comfortably. Today, I would like to write a follow up post to further ellaborate on some of the points I brought up initially.
Problems with 960.gs
Narrow Gutter Space
I did a quick Photoshop mockup to show how 20px gutter space would look like on 960gs. The gutter is a bit too narrow for modern design.

To solve this small gutter problem, a lot of people add padding to either the content area or sidebar containers, making that subsequent content area smaller.

Unnecessary Left and Right Margin
To those who don't know, the content width in 960gs is actually 940px, not 960px. It is 960px because of the added margin space on the left and right. Some people argue that this margin space helps visibility on mobile devices such as the iPhone and iPad. Technically, if there is a margin required, it should be applied on the container, not the columns.

Too Many Classes
Visual aesthetic might be a personal biased but, even so, there seems to be some fundamental CSS issues as well. Below is a sample case. To achieve the layout result I've designed here, with 960gs, you will be required to add extra CSS classes: alpha, omega, and clear. The alpha & omega class is required to get rid of the margin space on the left and right hand sides of the columns. A clear class is also required to clear the floats after each row of columns.

The Simpler 978px Grid (demo)
The 978px grid that I mentioned in my previous article got rid of the unnecessary left and right margin. As a result, the content width is increased by 38px. The gutter space has incresed from 20px to 30px. It still fits in the 1024 default display and the columns can be divided in any number of ways: 1/11, 3/3/3/3, 4/4/4, 3/9, etc.

978px HTML & CSS (demo)
The following is a simpler CSS grid that Darcy and I came up with and deals with scenarios, like the "Too Many Classes", in an elegant way. There is only a left margin on the grids which creates the gutter space. Grid12 is not required because grid12 is the width of the container. There is no .alpha or .omega class, but a single.first class required for the first column in every new row. The purpose of the .first class is to clear the floats and get rid of the left margin space. Since the .first class clears the float, a.clear class is not required after each row.
.container {
width: 978px;
margin: 0 auto;
}
.grid1, .grid2, .grid3, .grid4, .grid5, .grid6, .grid7, .grid8, .grid9, .grid10, .grid11 {
float: left;
margin-left: 30px;
}
.grid1 {
width: 54px;
}
.grid2 {
width: 138px;
}
.grid3 {
width: 222px;
}
.grid4 {
width: 306px;
}
.grid5 {
width: 390px;
}
.grid6 {
width: 474px;
}
.grid7 {
width: 558px;
}
.grid8 {
width: 642px;
}
.grid9 {
width: 726px;
}
.grid10 {
width: 810px;
}
.grid11 {
width: 894px;
}
.first {
margin-left: 0;
clear: left;
}
The Simpler 940px Grid (demo)
If you really want to keep the golden ratio, you can achieve the same result with this simpler grid. For those that argue the left and right margin is required to prevent the content from being trimed off in the mobile devices should think about appling that space to the container, not the columns themselves.
Conclusion
Don't force your design to fit to a grid that hinders your creative genius. Do what makes your designs look good and is comfortable to you. A grid should be your layout guideline, not restriction.
Just crunching-ch-ching some numbers and 56px grid x 26px gutter x12 columns works out pretty nice.
Comes real close to 960 pixels (958).
Using all of the above logic and classes, it works out handily.
I just like 56px it factors better, and 26 is easy to remember 56/26 both end in 6 :)
Nice little grid calculator here:
http://www.designbygrid.com/tools
to cr-crunch your own.
Thanks for the CSS logic Nick, not that there’s anything wrong with 978.
OK already flip flopped, the math is easier using 50px columns x 32px gutters = 952 total to come in under 960px.
Can’t wait to work with this and use my other standard base styles.
A personalized framework to taste and per project for the nay-sayers :)~
Hey, great post – I am a web designer and developer, on a day-to-day basis I work in a variety of projects for a broad range of different clients all wanting different styles. Recently I designed a minimalist website for one of my clients which looked great…
Get it .Thanks man :)
Thanks Nick. This is a subject we’ve been following on your blog over the past few weeks and you really inspired us to embrace it, the next few designs coming out of FHOKE will be certainly be using the new grid. We’ve even made available the PSD file for designers like us to download. Come have a look http://www.fhoke.com/blog/2010/10/07/new-978-grid-system/
How exactly does the 960 grid hinder your creativity any more than a 978 grid… they both have equal amounts of columns… sooo…
my comment got eaten. Anyway I wanted to say that it’s nice to know that someone else also mentioned this as I had trouble finding the same info elsewhere
Thanks much sir!
While you make some valid points, your aversion to the golden ratio is not too cool. All the best designers (and, for that matter, artists) throughout history have used golden proportions in their work.
I don’ want to post a comment, but you are just an artist. well done
While I am a fan of the golden ratio (as almost every designer should be) I agree that going by set numbers that “fit” into the layout is restricting on the web. Fluidity should be kept in mind, but being flexible is also important!
Do I have to LOVE this grid system & Is it really important to follow this??? I really want to know!! I’m a designer[basically] & also code wordpress themes[my own designs only] from past 2 years I design my websites at 1010px without any grids. One of the example is
http://www.breakupwithsugar.com/
Do You think following grid system can change my life & what are the advantages. =)
Thanks
Hey, I am not sure if you know about the custom grid selector, within the 960.gs – http://www.spry-soft.com/grids/. You can choose whatever gutter width possible, and choose any column size. You can derive anything that you want.
And removing the margins is just one line of code! I might be wrong, but I do not see any convincing argument to move away from 960.gs.
Something funny: You say “Don’t force your design to fit to a grid that hinders your creative genius.” but yet you are proposing a grid. xD
Now, here’s something that you’re misinterpreting: the inclusion of a .clear class.
The fact that the .class is in the 960 CSS file, doesn’t mean you HAVE to add a DIV to clear the floats, so the example graphic above where you have an empty yellow-border DIV, that doesn’t necessarily has to be the exact and only way you would use .clear class. I think your opinion on this point is not objective, but more subjective.
Nevertheless, your 978 grid system looks interesting and will definitely give it a try.
Thanks.
Correction (there’s no way to edit your post here :s):
Third paragraph, I meant: “The fact that the .clear class is in the 960 CSS file…”
Well it’s funny because sometimes I find the 20px gutter *too wide*, but never too narrow.
Grids are great if you’re not a slave to them–I like the 960gs, but I tend to agree that there are way too many classes that are required to make a layout work. From a design perspective, gutters should be as flexible as possible otherwise every design will start to look the same. Let’s not forget about the typographic control that a grid should help with, setting an adjustable vertical rhythm is important.
I have been meaning to look at this for ages now but never get round to it. Thank you!
Bye bye unwanted margins and hello extra space :D
I don’t suppose you have a Photoshop grid template to go along with the CSS code? :)
thank you – this is gonna help me out loads!!
In case anyone is interested, I’ve turned this into a LESS.js version:
http://pastie.org/pastes/1218682/