I am working on a grid right now over a 1024 px x 768 px picture and i am having a problem i would like some help with to understand what i am doing wrong and to point me the right direction on it.
what happens is:
i know that the width and height are multiples of the number 8. so i am making an16 px margins and dividing the whole space left into 8 columns/ rows. So i am left with a canvas with 992 px x 736 px. so, i split into a grid and i am left with comfortable measures. I assume that a 16 px baseline is going to fit here but there problem is the it doesn't match the gutters as it was supposed to. any suggestions on what i am doing wrong?
I will post a screenshot as an attachment to illustrate it better.
> can i use this caluculation for basically any grid i am working on
You can use this method (going bottom up) for any grid as long as you know the baseline and height of the grid rows. There are tools available(in the resources section here) that will let you calculate them as well.
> the only way for me to increase to a 16 margin is increasing the actual height of the document?
If you want to stick to 16px baseline, I'm afraid so.
If your document height cannot be changed, you can use other metrics to determine your baseline as well. You could use 12px baseline with 72px height for each grid row. That would give you a grid that fits.