Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grids and padding/margin #107

Open
debugwand opened this issue Jun 20, 2012 · 1 comment
Open

Grids and padding/margin #107

debugwand opened this issue Jun 20, 2012 · 1 comment

Comments

@debugwand
Copy link

Given that if you add padding or margins to elements also form a grid and together add up to 100% (e.g. 3 elements that are .size1of3), your layout will collapse (until such time as we can forget about IE<8 and use box-sizing), is it worthwhile to enforce 0 padding and margin the following to .unit and .unit-right in oocss / core / grid / grids.css?

.unit, .unit-right {
  padding: 0 !important;
  margin: 0 !important;
}
@ghost
Copy link

ghost commented Jun 28, 2012

I saw that www.box.net uses border-box. How does it work with older browsers?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant