Искам да попитам дива, в който слагам всичко, за да го центрирам, по-голям ли трябва да ми е от body-то или не? Май сама си знам отговора, че не, защото сега е по-голям и не се центрира, всичко си стои вляво. Обаче ако го направя по-малък, само левия див за менюто се сбутва в другите и това му е центрирането. Ето ми кода, сайта е това.
Код:
body{
background-color: #fff;
margin: 0px;
width: 900px;
text-align: center;
min-width: 700px;
}
#container{
margin:0 auto;
width: 1000px;
text-align:left;}
.menu{
background-color: #c3cae3;
width: 180px;
height: 600px;
float:left;}
.holder{
width: 600px;
position: absolute;
left: 181px;
top: 0px;
margin-left: 0px;}
ul{
list-style-type: none;
width: 100%;}
li{float: left;}
.minu a{
position: relative;
top: 47px;
left: 0px;
font: 18px Century Gothic, Verdana, sans-serif;
float: left;
dispaly: block;
width: 150px;
height: 35px;
text-align: left;
border: none;
padding: 2px 2px 15px 2px;
text-decoration: none;
color: #000;}
.minu a:active{
background-image: url('images/podchertavka.gif') no-repeat 50px 12px;}
.minu a:hover{
font-weight: bold;
text-align: center;}
.syd{
background-color: #fff;
position: absolute;
top: 47px;
left: 9px;
width: 458px;
padding-top: 0px;
min-height: 553px;}
.cit{
background-color: #c3cae3;
height: 553px;
widht: 400px;
position: absolute;
top:47px;
left: 465px;
font: 10px Verdana, Tahoma, sans-serif;
margin: 1px;
text-align: left;
}