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.
I like to peep at the grid system generator from time to time to see what’s new/different – http://www.gridsystemgenerator.com/.
I adjusted the 960.gs right from when I started using it to eliminate the gutters – I mostly used a 24 column version of the 960.gs. Will have a look at the simple grid.
css grid ler oldukça iyi ben şahsen begendim
Excelente sistema de grids, he dejado un proyecto hecho con el 960 gridpor la mitad para probar este de 978 y los resultados en limpieza de codifo han sido fenomenales. Me gustaria que lo pudiesen hacer para 24 columnas.
Today is too precious, should not worry for acid bitter and astringent regrets that dissolve, raise the chin, seize today, it never comes back.
I totally agree with you here, 960grid has been a great help to my projects. But the things you use as arguments where the ones that i kept thinking should i just leave the grid system aside because of the many bigger resolutions these days.
Though when reading your title of the post i hoped you somehow came up with a grid systems that works with a flexible layout, but it is some what that. Only still restricted to some degree of with of the container. Do i defintly start using it.
I suggest you two can make some sketch templates to, because thats where 960 rocks too. You can sit with your client and have a mockup in no time.
So please add the css and sketch tempalte in the download file too.
Keep up the good work.
I really like your simple 978px grid solution!
But I have one question:
How do you handle the SEO problem where main content should be placed before the site menu in html source?
Example:
Lets say we have a very simple layout using two cols: grid2 for menu-column and grid10 for content-column
Optically the menu col should be on left side and the content col on the right. In html source the content-column should be placed before the menu-column. But this breaks the grid system.
Can this be done with the 978px grid?
Thanks,
Martin
Think of a simple html document that will never have a css. Do you think the menu should realy be after the content? I think that, doing so, you are putting more importance to SEO instead of your user.
The menu can come after in the markup while still showing first in the rendered result. Take a look at http://matthewjamestaylor.com/blog/perfect-3-column.htm as the main column is displayed in the center even though it comes first in the markup. A simple grid system won’t accomodate this SEO friendliness out of the box, but I think that a mixture of classes could well work for that… But maybe this is impossible… Or next to…
I think, the placing of you content with seo is importent. But if your website is simpel there isn’t much code and data that will disturb the indexation.
If you have a big community the you should definitly consider that stragegy.
I think I will start using the 960gs and 978gs. I just learned about them today.
Mine didn’t have any organization before.
Hi Nick,
Thanks for the tips! You have inspired me to make my own grid system — 984gs!
@Jessamyn
You may to put your background image on tag
A new and alternative way in the grid system.
its hard to say that your post is usefull. but way better than others :) thx
I’ld love to see this get adapted, or is it adopted… ? :)
With people making layouts and sharing them.
Esp. moving towards html5 new style layouts.
Seems like a great starting point for anyone to make their own front-end framework, no license required ;)
-crssp
What about the Prefix and Suffix classes of 960.gs, plus a full width sample in the mix of the demo would be nice, just for more examples.
thanks again.
is not easy to put on weight
When I looked at this earlier, I missed the “clear:left;” on the .first class. That is so amazingly brilliant! Thanks.
Recent surveys, children of depressed mothers’ negative patterns of activity occurring in different brain reveals. This is for children of mothers who take more risks in the future is going to have depression.
This grid is very usefull for designing website with more invisible design. (Smashing book 2)
Thanks for sharing!
nice article, thanks. I’ve just started using the 960gs recently, guess ill give this a try now instead :D
What is friendship?Mont Blanc PenWhy do we call a person our friend? When do we call someone a very good friend?
I like grids because it keeps content clean and streamlined. However, when wanting to use background color within the containing divs, that’s when it can get tricky. Many times adding margin/padding will break the grid layout.