Mam problem. Na mojej stronie w starszych przeglądarkach między logo a menu robi się dziwny odstęp. Okrojoną wersję pustą praktycznie zamieszczam tu: rafalew.cba.pl pod normalnymi przeglądarkami nie widać problemu, więc pod linkiem "coś" zamieszczam zdjęcie jak to się rozjeżdża, np. pod ie6.
Zamieszczam kod index.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" lang="pl"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2" /> <meta name="Description" content="" /> <meta name="Keywords" content="" /> <link rel="Stylesheet" type="text/css" href="style.css" /> <link rel='stylesheet' type='text/css' href='menu_style.css' /> </head> <div id="BODY"> <!--LINKI--> <ul class="menu blue"> <!--/LINKI--> <div id="TRE"> <div id="TRESC"> <div class="ZAWARTOSC"> </div> </div> </div> <div id="INFO"> <!--INFO--> <div class="ZAWARTOSC"> <!--ZAWARTOSC INFO--> <!--/ZAWARTOSC INFO--> </div> <!--/INFO--> </div> </div> </div> </body> </html>
style.css
/*STRONA*/ body { font-size: 12px; font-family: Verdana, Arial, Helvetica, sans-serif; background: #eef1f6 url('images/tlo.JPG') repeat-x; text-align: center; margin-top: 20px; margin-bottom: 20px; } a img { border: 0; } /*/STRONA*/ /*RAMKA*/ #top { border-width: 1px; border-color: #C0C0C0; border-style: none dotted none dotted; background: white; font-size: 30px; font-family: Helvetica, Verdana, Arial, sans-serif; color: #000000; margin: 0 auto; width: 970px; padding-top: 0px; padding-bottom: 0px; } /*/RAMKA*/ /*WNETRZE*/ #BODY { background-color: white; text-align: left; margin-left: 15px; margin-right: 15px; width: 940px; z-index: 1; } /*/WNETRZE*/ /*LOGO*/ #LOGO { background: url("images/a.PNG") no-repeat top left; height: 176px; padding-top: 34px; text-align: center; z-index: 2; } /*/LOGO*/ /*/TRESC*/ #TRE { width: 630px; overflow: hidden; float: left; margin-top: 20px; padding-left:17px; } #TRESC { width: 640px; overflow: hidden; float: left; } #TRESC .ZAWARTOSC { font-size: small; font-family: Helvetica, Verdana, Arial, sans-serif; color: #000000; background: white url('images/podklad1.JPG'); padding-top: 5px; padding-right: 30px; padding-bottom: 30px; padding-left: 30px; line-height: 180%; } #TRESC .ZAWARTOSC a:link { color: #0000FF; text-decoration: underline; font-weight: normal; font-style: normal; } #TRESC .ZAWARTOSC a:visited { color: #800080; text-decoration: underline; font-weight: normal; font-style: normal; } #TRESC .ZAWARTOSC a:hover { color: #FF0000; text-decoration: underline; font-weight: normal; font-style: normal; } /*/TRESC*/ /*STOPKA*/ #STOPKA { font-size: 11px; font-family: Helvetica, Verdana, Arial, sans-serif; color: #000000; background-color: white; margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 404px; padding-top: 0px; padding-right: 10px; padding-bottom: 10px; padding-left: 0px; text-align: left; clear: both; /*-moz-box-shadow: inset 1px 1px 10px #888; -webkit-box-shadow: inset 1px 1px 10px #888; box-shadow: inset 1px 1px 10px #888;*/ } #STOPKA a:visited { color: #000000; text-decoration: underline; } #STOPKA a:link { color: #000000; text-decoration: underline; } #STOPKA a:hover { color: #000000; text-decoration: none; } /*/STOPKA*/
menu_style.css
ul.menu { list-style-type:none; position:relative; display:block; height:32px; font-size:.4em; background:url(images/bg.png) repeat-x top left; font-family:Verdana,Helvetica,Arial,sans-serif; border:0px solid #000; padding-bottom: 0px; text-align: center; margin: 0 auto; width: 830px; padding: 0px 20px 0px 20px; } ul.menu li { display:block; float:left; margin:0; padding:0; } ul.menu li a { float:left; color:#A79787; text-decoration:none; height:24px; padding:7px 49px 0; font-weight:normal; } ul.menu li a:hover,.current { color:#fff; background:url(images/bg.png) repeat-x top left; text-decoration:none; } ul.menu .current a { color:#fff; font-weight:700; } /*BLUE*/ ul.menu.blue{ background-color:#3F8FD2; } ul.menu.blue li a:hover, .menu.blue li.current { background-color: #A3BAE6; /*background-color: #78B8F1;*/ /*#A3BAE6;*/ }
Proszę o pomoc w rozwiązaniu problemu.