Link do strony:
http://www.ksiaznica.home.pl/nc/
kod: (część z menu)
<link rel="stylesheet" href="default.css" type="text/css"> <div class="naglowek"> <div style="position: absolute;left:450px;top:60;z-index:1;bottom 50px;"> <form method="get" action="search.php"> <input type="text" name="searchterm" title="" value="" class="searchbox" /> <input type="submit" name="szukaj" title="szukaj" value="szukaj" class="searchbutton" /> </form> </div> <img style="position: relative; left: 0px; bottom: -9px;" src="czytelnia.png"/> <img style="width: 92px; height: 40px; position: relative; bottom:5px;left:520px;" src="logoborgis.png"/> <img style="width: 990px; height: 72px; position: relative; bottom:35px;" src="toptlo1.png"/> </div> </head> <body> <p class="strona"> <div class="main"> <table cellspacing="0" cellpadding="0" id="menu1" class="dm1"> <tr> <td> <div class="section"> </div> </td> <td> <div class="section"> </div> </td> <td> </td> <td> </td> <td> </td> <td> <div class="section"> </div> </td> <td> </td> </tr> </table> <script type="text/javascript"> var dm1 = new DropMenu1('menu1'); dm1.position.top = -1; dm1.init(); </script> </div> </p> <br> <div style="border: 1px solid #ddd; padding: 5px;"> <table>
CSS:
.naglowek { background-attachment : scroll; background-color : transparent; background-image : url(http://www.czytelniamedyczna.pl/nowaczyt/toptlo.jpg); display : block; height : 80px; width : 990px; } .skyright{ width:120px; margin-left:870 ; margin-right:20; display: table; } .dm1 { font : bold 11px/12px Arial, sans-serif, helvatica; } .dm1 .item1, .dm1 .item1:hover, .dm1 .item1-active, .dm1 .item1-active:hover { padding : 3px 8px 4px 8px; text-decoration : none; position : relative; display : block; width : 125px; height : 20px; background : url("tlogray1.gif") repeat-x left; text-align : center; font : bold 11px/12px Arial, sans-serif, helvatica; } .dm1 .item1 { background-image : url("tlo1.gif"); color : #ffffff; font : bold 11px/12px Arial, sans-serif, helvatica; display: block; } .dm1 .item1:hover, .dm1 .item1-active, .dm1 .item1-active:hover { background : url("tlogray1.gif"); color : #ffffff; font : bold 11px/12px Arial, sans-serif, helvatica; display: block; } .dm1 .item2, .dm1 .item2:hover { padding : 3px 8px 4px 8px; text-decoration : none; display : block; white-space : nowrap; font : bold 11px/12px Arial, sans-serif, helvatica; } .dm1 .item2 { background : url("tlo1.gif"); color : #ffffff; font : bold 11px/12px Arial, sans-serif, helvatica; width : 135px; height : 15px; text-align : center; } .dm1 .item2:hover { background : url("tlogray1.gif"); color : #ffffff; font : bold 11px/12px Arial, sans-serif, helvatica; } .dm1 .section { position : absolute; visibility : hidden; z-index : -1; white-space : nowrap; font : bold 11px/12px Arial, sans-serif, helvatica; display: block; margin-top: 90px; margin-left: 10px; } * html .dm1 td { position : relative; } .przerwa { height : 30px; } h1 { width : 375px; padding : 10px; margin-left : auto; margin-right : auto; background : #339; font : normal 18px Arial, Helvetica, sans-serif; color : #fff; border : 1px solid #000; text-align : center; } h2 { font : bold 18px Arial, Helvetica, sans-serif; color : #339; } p { font : normal 10pt Arial, Helvetica, sans-serif; text-align : center; color : #000; } a:link, a:visited { font : bold 11px/12px Arial, sans-serif, helvatica; color : #000; text-decoration : none; } .searchbox { width : 150px; font : normal 12px Arial, Helvetica, sans-serif; color : #ffffff; background : #b9cdff; } .searchbutton { width : 80px; background : url("tloblue1.gif") repeat-x; font : bold 12px Arial, Helvetica, sans-serif; color : #000; } #menu1 { z-index:10 !important; position:relative; margin-left:0px; margin-right:0px; margin-top: -16px; list-style-type: none; }
Gdzie tkwi błąd? Bardzo proszę o pomoc, ponieważ siedzę nad tym chyba z tydzień...