I have a div in my layout which has box-sizing
property assigned to it with value border-box
. It works good in other browsers but does not work in IE7. I have read that for fixed width elements, it works. The IE developer tool tells that box-sizing
property is assigned correctly. The CSS code:
.item {
width:360px;
background:#FFFFFF;
border:0;
border-bottom:1px solid #DDDDDD;
padding:12px 24px;
margin-bottom:24px;
box-sizing:border-box;
-moz-box-sizing:border-box;
-webkit-box-sizing:border-box;
}
It breaks the layout.