witam problem ze stopką pojawia sie gdy zawartość divu center_box jest większa niż ekran i stopka powinna sie przesunąć wdół. Kod strony jak poniżej:
<body> <div id="main"> <map name="Map" id="Map"> <area shape="rect" coords="0,0,177,140" href="../index.html" alt="Back to Main" /> </map> </div> <div class="link" id="pasek"> </div> <div id="left_box_podstrony"> </div> <div id="center_box"> <table width="96%" border="0" align="center" cellpadding="5" cellspacing="0"> <tr> </tr> </table> </div> </div> </body> </html>
style wyglądają następująco:
#top { height: 140px; width: 770px; left: 0px; top: 0px; position: absolute; z-index: 1; background-repeat: no-repeat; } #main { position: relative; width: 770px; height: 100%; margin: 0px; } body #main { margin-right: auto; margin-left: auto; height: auto; position: relative; } #pasek { position: absolute; height: 20px; width: 770px; left: 0px; top: 140px; z-index: 2; } #left_box { position: absolute; height: 360px; width: 210px; left: 0px; top: 160px; background-image: url(img/boxPodstrona1ramkaObrazek.jpg); overflow: hidden; background-repeat: no-repeat; background-position: center center; } .link { padding-right: 0px; padding-left: 0px; color: #4092C2; text-decoration: none; position: static; font-family: Arial, Helvetica, sans-serif; font-size: 12px; right: 0px; } #stopka { height: 60px; width: 100%; overflow: visible; position: absolute; left: 0px; z-index: auto; visibility: visible; clear: both; vertical-align: 100%; } .buttons { text-align: center; height: 40px; width: 175px; position: relative; top: 0px; left: 0px; margin: 23px 0px 0px 16px; background-position: center; padding: 0px; } #center_box { height: auto; width: 560px; left: 212px; top: 157px; z-index: 4; position: absolute; float: bottom; overflow: hidden; } .tekst { font-family: Arial, Helvetica, sans-serif; font-size: 11px; text-align: left; } .heading_main { font-family: Arial, Helvetica, sans-serif; font-size: 18px; }
Prosze o pomoc nie wiem jakie parametry ustawić by stopka się przesuwała odpowiednio jak treść centralnego boxu się zwiększa
pozdrawiam....