lastUnit - margins and padding #46

Open
TigerWolf opened this Issue Nov 29, 2010 · 1 comment

Comments

Projects
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 http://brian.moonspot.net/grid-layout/oocss-grid-space.html

and see this thread https://groups.google.com/d/topic/object-oriented-css/HTRSdnx9i3o/discussion

Hope it helps,
-Glenn

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