<div class="1_div" style="position: fixed;"> <div id="gbelka"> <div class="2_div" style="padding; 0px 0px 0px 0px;"> <table border="0"> <tr><td> <div id="head"> <!-- ============================ TESTOWA WYSZUKIWARKA --> <img src="testowe/WYSZUKIWARKA.png" style="margin-left: 120%;" height="30"> <!-- ============================ KONIEC TESTOWA WYSZUKIWARKA --> </div> </td><td> <div id="menu_logo"> <?php include ('pages/glowna/menu_logo.php'); ?> </div> </td></tr> </table> </div> </div> </div>
chcialbym wiedziec jak mam wysrodkowac czesc z diva 2_div tak by cala jego część pojawila sie na srodku strony czyli logo wyszukiwarka i zakładki

css:
.1_div{ position: absolute; left: 0; top: 0; background-repeat: repeat-x; } .2_div{ left: 0; top: 0; background-repeat: repeat-x; background: transparent url(img/logo_belka.png) repeat-x; } #gbelka { height: 38px; width: 100000px; background: transparent url(img/logo_belka.png) repeat-x; background-repeat: repeat-x; background-position: left; float: center; text-align: center; position: relative; z-index: 1; } #head { height: 30px; width: 140px; background: transparent url(img/upeer_music.png) no-repeat; background-position: left; float: center; text-align: center; margin-left: 2%; position: relative; z-index: 2; } #menu_logo { margin-left: 400px; } /* ******************