views:

399

answers:

1

How can I add the 10 px gutter of a 40px grid(so that it will be 50px) in 960 css framework?

A: 

What I do is add another div inside each of my grid_X divs:

<div class="grid_4 alpha">
    <div class="inner">
        content
    </div>
</div>

.inner {
    padding: 0 10px;
}
nickf
but you are effectively reducing the horizontal content area by 20px. I actually wanted to add 10px on either the left or right side by adding up the gutter.
ken
...wouldn't that be breaking the grid?
nickf
that's actually what's happening right now, im trying to add border which requires that the content is padded but adding more padding makes the content area smaller.
ken