<div id="tasarim"> <div id="ust"><div class="ust"><center><img src="http://i42.tinypic.com/2vx1z4h.jpg" alt="" /></center></div></div> <div id="ustmenu"><div class="ustmenu"> <ul id="menu"> <li><a href="#">Anasayfa</a></li> <li><a href="#">Haberler</a> <ul> <li><a href="#">Şirket Haberleri </a></li> <li><a href="#">Yurt içi Haberleri </a></li> <li><a href="#">Yurt dışı Haberleri</a></li> </ul> </li> <li><a href="#">Ürünler</a> <ul> <li><a href="#">Tencere</a></li> <li><a href="#">Tava</a></li> <li><a href="#">Ütü</a></li> <li><a href="#">Tost Makinesi </a></li> <li><a href="#">El Süpürgesi </a></li> </ul> </li> </ul> </div></div> <div id="orta"> <div class="sagsutun">
</div></div> <div id="alt"> </div> </div>
table {margin-left:auto; margin-right: auto} h1#title{display: none;} h2#title span {display: none;} div.header{display: none;} li.nav_element{list-style-type: none;} li.nav_element{display: none;} #counter{text-align:center;} * {padding: 0; margin:0 } body { margin-left: auto; margin-right: auto; background: url(arkaplan url) top center fixed; } #tasarim{ width: 900px; margin-left: auto; margin-right: auto; } #ust{ margin-left: 0 auto; margin-right:0 auto; background: url(http://img697.imageshack.us/img697/903/v6tasarim01.gif); width: 900px; height: 190px; float: left; } .ust{ width:545px; float: left; padding: 105px 0 0 355px; overflow: hidden; text-align: justify; } #ustmenu{ margin-left: 0 auto; margin-right:0 auto; background: url(http://img9.imageshack.us/img9/9647/v6tasarim02.gif); width: 900px; height: 96px; float: left; } .ustmenu{ width:880px; float: left; padding: 30px 0 0 20px; overflow: hidden; text-align: justify; } #orta{ margin-left: 0 auto; margin-right:0 auto; background: url(http://img41.imageshack.us/img41/5996/v6tasarim03.gif); width: 900px; height: 100%; float: left; } .sagsutun{ width:860px; float: left; padding: 0 0 0 20px; overflow: hidden; text-align: justify; } #alt{ margin-left: 0 auto; margin-right:0 auto; background: url(http://img299.imageshack.us/img299/1958/v6tasarim04.gif); width: 900px; height: 176px; float: left; } <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9"> <style> body{ margin:0; padding:0; } ul#menu, ul#menu ul{ padding: 0; margin: 0; list-style: none; } ul#menu li { float: left; position: relative; width: 150px; } ul#menu li ul { display: none; position: absolute; top: 19px; /* yukseklik 15px + sonradan eklenecek paddingler 4px toplam 19px */ left: 0; } ul#menu li > ul { top: auto; left: auto; } ul#menu li a { font: bold 11px arial, helvetica, sans-serif; display: block; border-width: 1px; border-style: solid; border-color: #ccc #888 #555 #bbb; margin: 0; padding: 2px 3px; color: #000; background: #efefef; text-decoration: none; } ul#menu li a:hover { color: #a00; background: #fff; } ul#menu li:hover ul, ul#menu li.over ul { display: block; } </style> <script type="text/javascript"> startList = function() { if (document.all&&document.getElementById) { navRoot = document.getElementById("menu"); for (i=0; i<navRoot.childNodes.length; i++) { node = navRoot.childNodes[i]; if (node.nodeName=="LI") { node.onmouseover=function() { this.className+=" over"; } node.onmouseout=function() { this.className=this.className.replace(" over", ""); } } } } } window.onload=startList; </script> </head> </html>