Du brauchst noch einen zusätzlichen DIV, um die Seite so zu zentrieren, dass es auch der IE6 richtig versteht.
Füge in der index.php den neuen DIV so ein:
Code:
<div id="body">
<div id="background">
<div id="wrapper">
<div id="head-right">
...
...
<div id="footer">
</div>
</div>
</body>
</html>
Danach musst du noch folgende Anpassungen in den CSS vornehmen:
template.css (Zeile 25)
Code:
#body {
background:url("../images/bg-stretch.jpg") repeat-x scroll left top #EDEDED;
text-align: center; /*neu */
}
template.css (Zeile 26)
Code:
#background {
background:url("../images/background.jpg") no-repeat scroll center top transparent; /* ändern */
margin:0 auto;
min-height:450px;
width:100%; /* ändern */
}
template.css (Zeile 27)
Code:
#head-right {
float:right;
height:94px;
margin-right:25px; /* ändern */
padding:20px 0 0;
width:300px;
}
template.css (Zeile 33)
Code:
#top {
background:none repeat scroll 0 0 #FFFFFF;
clear:both;
margin-top:36px;
padding-bottom:10px;
overflow:hidden; /* neu */
}
neu im template.css:
Code:
#wrapper {width: 597px; text-align:left;margin: 0 auto;}
ie.css:
Code:
#head-right {margin-left: 300px;} /* ändern */
Lesezeichen