Browser Compatibility

From: af (CAER)28 Jun 2012 10:07
To: Peter (BOUGHTONP) 9 of 10
Isn't it <!doctype html> ?

quote:
Understanding how margin and padding are applied/combined helps, and that when you're setting "width" you're controlling the width of the content of that element (not of the element itself).


code:
* {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}


Often makes life easier. Obviously can be applied more specifically if needed. This thing is an example of where border-box can really simplify the HTML.
EDITED: 28 Jun 2012 10:10 by CAER
From: Peter (BOUGHTONP)28 Jun 2012 11:05
To: af (CAER) 10 of 10
Oh, didn't realise that was actually supported now.

(dance)