Home › Forums › CSS › Padding, what are you doing? Padding! NO! STAHP! › Re: Padding, what are you doing? Padding! NO! STAHP!
December 6, 2012 at 4:27 am
#116483
Kitty Giraudel
Participant
My way to go is the following:
* Box-sizing: border-box on all elements *, *:after, *:before { box-sizing: border-box; }
* Polyfill for IE7 if support required (https://github.com/Schepp/box-sizing-polyfill)
I do that in most projects, it works absolutely fine.