Könnt ihr mir helfen diese Seite IE-kompatibel zu machen? Ich hab echt keinen Plan davon; Der relevante Code wäre
index.php:
default.css:
So sieht sie im IE aus:
index.php:
Code:
<div id="container"> <div id="header"></div> <div id="menu" class="column"> <ul> <li><a href="#">Menü</a></li> <li><a href="#">Einträge</a></li> </ul> </div> <div id="body" class="column">text</div> </div>
Code:
#header { background-color: #99CC00; height: 6px; } #container { background-color: #FFFFFF; background-image: url('images/background-left.gif'); background-repeat: repeat-y; position:absolute; width: 98%; } #menu { width: 160px; float: left; padding: 15px; } #menu ul { margin:0px; padding: 0px; list-style: none; } #menu ul li { margin: 0px; font: normal 11px Verdana, Arial, Helvetica, sans-serif; border-top: 1px solid #444; } #menu ul li a { display: block; margin: 0px; color: #ccc; padding: 8px 5px 8px 10px; text-decoration: none; } #menu ul li a:hover { color: #fff; background: #444; } #body { margin-left: 190px; font-family: Arial, Helvetica, sans-serif; font-size: 11px; line-height: 16px; color: #777777; padding: 15px; }
Kommentar