Mam stronę która pod IE8 firefox i operą wyświetla się dobrze natomiast w starszych wersjach ie 6 i 7 strona mi się rozwala, lewe menu ucieka na prawo i częściowo jest za ekranem, a w górnym div'ie tekst się w nim częściowo chowie... w czym problem, i jak to rozwiazać?
kod:
<?php <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <TITLE> Panel Administracyjny</title> <META name="author" content=""> <META name="keywords" content=""> <META name="language" content="Polski"> <META HTTP-EQUIV="Creation-date" content="20.04.2005"> <META HTTP-EQUIV="Reply-to" content=""> <META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=utf-8"> <meta name="robots" content="index,follow,all"> <link href="THEMES/index.css" rel="stylesheet" type="text/css" > <script type="text/javascript" src="THEMES/fixed.js.php"></script> <!--[if lte IE 7]> <link href="patch_my_layout.css" rel="stylesheet" type="text/css" > <![endif]--> <link rel="Shortcut icon" href="favicon.ico" /> </head> <body> <div id="all"> <div id="left2"></div><div id="menu"><p id="margines"><center><div style="background: #88aacc; width: 150px; height: 60px;">Witaj!</div></center><br> Treść: <ul> <li><a href="?main=AddOffer"><b>Dodaj ogłoszenie</b></a></li> <li><a href="?main=menu">Menu</a></li> <li><a href="http://autos24.pl">Szukaj ogłoszenia</a></li> </ul> </p></div> <div id="logo"><p id="margines"> Panel Administracyjny <a href="" style="float: right;" style="color: #333333;">version PreAlpha 6.0 Theodora © </a> </p></div> <div id="tresc"><p id="margines"> <table width="760px" border="0" bordercolor="red" bgcolor="#919191" cellpadding="5" cellspacing="2" align="center"> <tr align="center" bgcolor="#b4b8bb"> <td width="25%" bgcolor="#919191"><a href="?menu=1">Treść</a></td> <td width="25%"><a href="?menu=2">Moje</a></td> <td width="25%"><a href="?menu=3">Komisy</a></td> <td width="25%"><a href="?menu=4">Ustawienia</a></td> </tr><tr> <td><a href="#" title="Dodaj ofertę"><center> <img src="/ADMIN/THEMES/icon/AddOffer.png" alt="Dodaj ofertę" /><br> Dodaj ofertę </a></td> <td><a href="#" title="Dodaj ofertę"><center> <img src="/ADMIN/THEMES/icon/AddOffer.png" alt="Dodaj ofertę" /><br> Dodaj ofertę </a></td> <td><a href="#" title="Dodaj ofertę"><center> <img src="/ADMIN/THEMES/icon/AddOffer.png" alt="Dodaj ofertę" /><br> Dodaj ofertę </a></td> <td><a href="#" title="Dodaj ofertę"><center> <img src="/ADMIN/THEMES/icon/AddOffer.png" alt="Dodaj ofertę" /><br> Dodaj ofertę </a></td></tr><tr> <td><a href="#" title="Dodaj ofertę"><center> <img src="/ADMIN/THEMES/icon/AddOffer.png" alt="Dodaj ofertę" /><br> Dodaj ofertę </a></td> </tr></table> </p><CENTER><BR><BR></div></div> </body> </html> ?>
dodatkowo w starszych wersjach IE nie zmienią się tło na miałe gdy najadę na menu...
kod CSS:
<?php @charset "UTF-8"; a:visited {color: #1d353d; text-decoration: none} a:hover {color: #0e3fbe; text-decoration: none} a:active {color: #1d353d; text-decoration: none} img { border:0px } #margines { margin: 6px; } li:hover {background: white;} body { font-size: 14px; font-family: Verdana, sans-serif; color: #333333; background: #eff1cf; } #all { margin: 0 auto; width: 990px; Border: 0px solid black; position: relative; } #logo { width: 790px; float: right; height: 30px; background: #95a9fb; } #menu { background: #838ffe; Position: fixed; height: 560px; text-align: left; width: 200px; float: left; border: 1px ridge; } #left2 { height: 100px; text-align: left; width: 200px; float: left; } #tresc { background: #eae8bf; height: auto; width: 790px; float: left; overflow: hidden; } ?>