On Thu Nov 20 2014 at 9:47:11 PM Crest Christopher <
crestchristop...@gmail.com> wrote:

> Why is it adding 4px for left and right ? I'm reading up on box-sizing,
> I don't see the benefit ?
>
>
>
Without setting box-xizing to border-box, the box model is additive (except
in older IE, ironically) which is kinda wrong/bad. 300px box plus 10px
padding and 2px border becomes 324px wide.

Setting box-sizing: border-box does not become additive. Padding and border
are subtracted from the 300px.
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to