Hi,
Is this the best hack to use for the box model, I want to use this code to have small boxes on the left and right side of my page to hold individual pieces of info. If this isn't the best way to do this can someone advice me on the best way to achieve a result that will be cross browser compatible
Tks
Graham
-------------------------- Code -----------------------
#content {
float: left;
padding: 10px;
margin: 20px;
background: #666;
border: 5px solid #ccc;
width: 400px; /* ie5win fudge begins */
voice-family: "\"}\"";
voice-family:inherit;
width: 370px;
}
html>body #content {
width: 370px; /* ie5win fudge ends */
}
Is this the best hack to use for the box model, I want to use this code to have small boxes on the left and right side of my page to hold individual pieces of info. If this isn't the best way to do this can someone advice me on the best way to achieve a result that will be cross browser compatible
Tks
Graham
-------------------------- Code -----------------------
#content {
float: left;
padding: 10px;
margin: 20px;
background: #666;
border: 5px solid #ccc;
width: 400px; /* ie5win fudge begins */
voice-family: "\"}\"";
voice-family:inherit;
width: 370px;
}
html>body #content {
width: 370px; /* ie5win fudge ends */
}