lastUnit - margins and padding #46

TigerWolf opened this Issue Nov 29, 2010 · 1 comment


None yet
2 participants

I tested out the framework for a website I am developing and was confused on the best practice for margins and padding in boxes (in a grid layout).

If I have a box with content on it and I want to have padding around the content within the box; If I do so it will throw out the last column size (using class lastUnit). I saw in the CSS for the demo pages that all headings and paragraphs have a margin applied to them.

Is this the best way to do it? If I have several boxes with different types of margins or padding I will have to set all of the h[1-6] styles and paragraphs for that box.

Is this something that should be changed for this framework or should I change the way I code css?

I'm still new, but this is what I came across.

you could try this

and see this thread

Hope it helps,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment