A good idea to solve the problem of the box model width is using the advanced Css selectors. In this case I've declared a correct doctype, and I've used the child selector ( body > div#box ) only for the compliant browser. The width for Explorer 5 is in a normal selector ( div#box ). A example is available here.
body{
background-color: #eee;
font-family: Arial, Helvetica, sans-serif;
}
body > div#box{
/*Child selector only for compliant browser*/
width: 330px;
}
div#box{
width: 350px; /*Normal selector for IE5*/
background: InfoBackground;
padding: 10px;
border: 1px solid black;
}
Metrostation Design - 2004 All right reserved® For more info write to:emi