Forum Moderators: not2easy
This is the code that I am using for my site container:
#container {
width: 970px;
\width: 990px;
w\idth: 970px;
background: #ffffff;
text-align: left;
padding: 0;
margin: 0;
voice-family: "\"}\"";
voice-family: inherit;
width: 970px;
}
html>body #container {
width: 970px;
}
And this is the hack I am using for all other box models:
#header {
width: 970px;
padding: 0;
margin: 0;
voice-family: "\"}\"";
voice-family: inherit;
width: 970px;
}
Any help in this subject would be greatly appreciated. Thanks in advance.
boonedawg
Basically, in your head, where you link your stylesheets, make a separate stylesheet for IE, e.g.:
<head>
<link rel="stylesheet" type="text/css" media="screen" href="includes/stylesheet.css" />
<!--[if lt IE 7]><link rel="stylesheet" type="text/css" media="screen" href="/includes/ie_override.css" /><![endif]-->
</head> Like that :)
html>body #container {
width:970px;
}
boonedawg