- 15,799
The W3C box model has been annoying the hell out of me lately, so I inserted the below code to my ID declarations in my CSS file to apply the traditional box model.
It works perfectly in IE and Firebird, but Opera doesn't pick it up, and as a result, the padding expands the div.
Code:
box-sizing: border-box;
-moz-box-sizing: border-box;
It works perfectly in IE and Firebird, but Opera doesn't pick it up, and as a result, the padding expands the div.