I've stayed clear of using any kind of grid systems because I always mess it up with padding and margin.
Let's sat my grids are at 90px and I have this code:
//HTML
<div class="col1">
<div class="content">
Hello world
</div>
</div>
//CSS
.col1 { width: 90px; margin: 0px; padding: 0px; background-color: #444; }
.content { margin: 20px; color: #fff; background-color: #0087d5; width: 100%; }
How can I work with grids, make sure the grid remains 90px width, while having inside ´div´ at 100% width with 20px padding / margin?
I know there are many grid systems out there and I've tested a few, but I must be "attacking" this the wrong way because my grids always expands when I start using padding to get some space.