Dear all,
I've got a problem getting a website to center correct in IE8. Everything's fine in IE9 and/or IE7, Chrome, etc.
In the page there are two div's that should center the main content:
Also, in the <body> tag, there's an id:
In the css is the following:
What should I change to the css to make this center correct in IE8?
Kind regards,
Marco Visser
I've got a problem getting a website to center correct in IE8. Everything's fine in IE9 and/or IE7, Chrome, etc.
In the page there are two div's that should center the main content:
HTML:
<div id="main_top"><img src="/***.gif" alt="." /></div>
<div id="main_bg">
Also, in the <body> tag, there's an id:
HTML:
<body id="page_bg">
In the css is the following:
Code:
#page_bg {
padding: 0px;
margin-bottom: 1px;
}
div#main_bg{
margin:0px auto;
width: 997px;
text-align:left;
}
div#main_top{
margin:0px auto;
width: 997px;
height: 9px;
line-height: 9px;
padding: 0px;
}
What should I change to the css to make this center correct in IE8?
Kind regards,
Marco Visser