Tag Info

New answers tagged

0

This is destined for closure, since it's not specifically about graphic design (it's a CSS issue), but before it goes: the standard box model for CSS is the content box; padding, borders and margins lie outside of the box you are sizing. To use 100% and have padding inside of that, you need to use box-sizing: border-box;. That makes things act like they ...



Top 50 recent answers are included