In this article http://www.kashit.org/design/css/ultimate-guide-to-techniques-for-cross-browser-css/
under section "Fixing IE Box Model Bug" author wrote
IE 6 can actually get it right if you are in standards-compliant mode.
Is it mean if we use XHTML 1.0 strict or HTML 5 doctype than this box model problem will get automatically solved without adding this extra div.
default
.box {
width:100px;
padding:10px;
border:2px solid #CCC;
}
solution for IE6 adding extra div <div class=”box-inner”>
<div class=”box”>
<div class=”box-inner”>
Testing for box model hack
</div>
</div>
how to solve that box model problem without adding extra div and using Valid CSS.? can we solve this just by adding a doctype, or just only doctype will not solve this problem?