Witam mam o to taki kod html-a
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" lang="pl">
  3. <?php include('head.php') ?>
  4. <title> Strona Główna </title>
  5.  
  6. <link rel="stylesheet" href=" style.css " type="text/css" />
  7. </head>
  8.  
  9. <div id="top"><?php include('top.php') ?></div>
  10. <div id="NAGLOWEK"><?php include('naglowek.php') ?></div>
  11. <div id="MENU">Menu nawigacyjne
  12. <?php include('menu.php') ?>
  13. </div>
  14.  
  15. <div id="TRESC">Główna</div>
  16. <div id="STOPKA">
  17. <?php include('stopka.php') ?>
  18.  
  19. </div>
  20. </body>
  21. </html>
  22.  

i taki css
  1. html, body {
  2. margin-right: auto;
  3. margin-left: auto;
  4. background-color: #fff;
  5. color: #000;
  6. width: 780px;
  7. padding: 0;
  8.  
  9. }
  10.  
  11. #top {
  12. width: 780px;
  13. }
  14.  
  15.  
  16. #NAGLOWEK {
  17. background-color: #888;
  18. }
  19.  
  20. #MENU {
  21. width: 150px;
  22. float: left;
  23. overflow: hidden;
  24. background-color: #ccc;
  25.  
  26. }
  27.  
  28. #TRESC {
  29. width: 630px;
  30. float: left;
  31. overflow: hidden;
  32. background-color: #fff;
  33. }
  34.  
  35. #STOPKA {
  36. clear: both;
  37. width: 100%;
  38. background-color: #888;
  39. }
  40.  
  41. ul, ul li {
  42. display: block;
  43. list-style: none;
  44. margin: 0;
  45. padding: 0;
  46. }


Chodzi mi o to, że długość menu nie jest dopasowana do długości strony
jak dodam do #menu
padding-bottom: 10000px;
margin-bottom: -10000px;
to menu wyjeżdża mi aż za stopkę.
Chyba, że cały szkielet strony zrobionej na divach jest źle zrobiony, także proszę o jakąś podpowiedź questionmark.gif