wygenerowalem sobie tam kod, i dodałem do mego indexu
  1. <?php
  2. echo "<img src='images/logor.png'>";
  3. echo "<img src='images/logol.gif'>";
  4. echo "<br>";
  5. echo "<br>";
  6. ?>
  7.  
  8.  
  9.  
  10. <style media="all" type="text/css">@import "/menu/menu_style.css";</style>
  11. <div>
  12. <ul class="menu">
  13. <li class="top"><a href="index.php" target="_self" class="top_link"><span>Home</span></a>
  14. </li>
  15. <li class="top"><a href="historia.php" target="_self" class="top_link"><span>Historia</span></a>
  16. </li>
  17. <li class="top"><a href="" target="_self" class="top_link"><span>Ciekawostki</span></a>
  18. <ul class="sub">
  19. <li><a href="budowa.php" target="_self">Budowa broni</a></li>
  20. <li><a href="zasady.php" target="_self">Zasady</a></li>
  21. </ul>
  22. </li>
  23. <li class="top"><a href="" target="_self" class="top_link"><span>Bronie</span></a>
  24. <ul class="sub">
  25. <li><a href="szabla.php" target="_self">Szabla</a></li>
  26. <li><a href="szpada.php" target="_self">Szpada</a></li>
  27. <li><a href="floret.php" target="_self">Floret</a></li>
  28. </ul>
  29. </li>
  30. <li class="top"><a href="czat.php" target="_self" class="top_link"><span>Czat</span></a>
  31. </li>
  32. </ul>
  33. </div>
  34.  
  35.  
  36. <?php
  37. include('baza.php');
  38. $zapytanie = mysql_query("SELECT id, tresc, data, tytul FROM news ORDER BY id DESC");
  39. echo "<center>";
  40. echo "<br>";
  41. echo "Newsy";
  42. echo "<br>";
  43. while($powiadomienia = mysql_fetch_assoc($zapytanie)){
  44. echo $powiadomienia['data'] . " &nbsp; " . $powiadomienia['tytul'];
  45. echo "<br>";
  46. echo $powiadomienia['tresc'];
  47. echo "<hr width=\"80%\"><br><br>";
  48. }
  49. echo "</center>"
  50. ?>


pliczek css:
  1. .bg {background: url(images/button4.gif);}
  2. .menu {padding:0 0 0 32px; margin:0; list-style:none; height:40px; background:#fff url(images/button1a.gif) repeat-x; position:relative; font-family:arial, verdana, sans-serif; }
  3. .menu li.top {display:block; float:left; position:relative;}
  4. .menu li a.top_link {display:block; float:left; height:40px; line-height:33px; color:#bbb; text-decoration:none; font-size:11px; font-weight:bold; padding:0 0 0 12px; cursor:pointer;}
  5. .menu li a.top_link span {float:left; font-weight:bold; display:block; padding:0 24px 0 12px; height:40px;}
  6. .menu li a.top_link span.down {float:left; display:block; padding:0 24px 0 12px; height:40px; background:url(images/down.gif) no-repeat right top;}
  7. .menu li a.top_link:hover {color:#000; background: url(images/button4.gif) no-repeat;}
  8. .menu li a.top_link:hover span {background:url(images/button4.gif) no-repeat right top;}
  9. .menu li a.top_link:hover span.down {background:url(images/button4a.gif) no-repeat right top;}
  10.  
  11. .menu li:hover > a.top_link {color:#000; background: url(images/button4.gif) no-repeat;}
  12. .menu li:hover > a.top_link span {background:url(images/button4.gif) no-repeat right top;}
  13. .menu li:hover > a.top_link span.down {background:url(images/button4a.gif) no-repeat right top;}
  14.  
  15. .menu table {border-collapse:collapse; width:0; height:0; position:absolute; top:0; left:0;}
  16.  
  17. .menu a:hover {visibility:visible;}
  18. .menu li:hover {position:relative; z-index:200;}
  19.  
  20. .menu ul,
  21. .menu :hover ul ul,
  22. .menu :hover ul :hover ul ul,
  23. .menu :hover ul :hover ul :hover ul ul,
  24. .menu :hover ul :hover ul :hover ul :hover ul ul {position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none;}
  25.  
  26. .menu :hover ul.sub {left:2px; top:40px; right:2px; background: #fff; padding:3px 0; border:1px solid #999999; white-space:nowrap; width:200px; height:auto;}
  27. .menu :hover ul.sub li {display:block; height:20px; position:relative; float:left; width:250px;}
  28. .menu :hover ul.sub li a {font-weight:normal;display:block; font-size:11px; height:20px; width:192px; line-height:20px; text-indent:5px; color:#000; text-decoration:none; border:3px solid #fff; border-width:0 0 0 3px;}
  29. .menu :hover ul.sub li a.fly {background:#fff url(images/arrow.gif) 80px 7px no-repeat;}
  30. .menu :hover ul.sub li a:hover {background:#999999; color:#fff;}
  31. .menu :hover ul.sub li a.fly:hover {background:#999999 url(images/arrow_over.gif) 80px 7px no-repeat; color:#fff;}
  32. .menu :hover ul li:hover > a.fly {background:#999999 url(images/arrow_over.gif) 80px 7px no-repeat; color:#fff;}
  33.  
  34. .menu :hover ul :hover ul,
  35. .menu :hover ul :hover ul :hover ul,
  36. .menu :hover ul :hover ul :hover ul :hover ul,
  37. .menu :hover ul :hover ul :hover ul :hover ul :hover ul
  38. {left:90px; top:-4px; background: #fff; padding:3px 0; border:1px solid 999999; white-space:nowrap; width:93px; z-index:200; height:auto;}




wszytko działa, jednak po najechaniu na menu ciekawostki lub bronie nie rozsuwa sie menu :/