bankera1990
Registered
здр. искам да попитам как да и кво трябва да направя в този код зада показва сайта ми центриран. значи с IE всичко е ок ама с Opera и Firefox резултата е плачевен ето кода
ето и снимка зада видите какво имам на предвид
Код:
html,body {
background: center url(images/body.gif);
color: ;
padding: 0px;
margin: 0px;
}
a:link{color: #cdcdcd;
padding: 0 0 0 7px;
text-decoration: none;
}
a:visited{color: #cdcdcd;
padding: 0 0 0 7px;
text-decoration: none;}
a:hover{color: #000; text-decoration: underline;}
#all{width: 100%;}
#logo{width: 100%; text-align: center;}
#bodyer{width: 100%; margin: 50;}
#left_box{width: 100px; float: left;}
#left_top{width: 200px; height: 59px; background: url('images/top_right.png');}
#left_middle{width: 180px; height: 59px; padding: 0 10px 0 10px; background: url('') left center repeat-y;}
#left_bottom{width: 200px; height: 6px; line-height: 6px; background: url('') no-repeat;}
#center_box{width: 300px; height: 400px; background: url('images/center_bg.png') ; float: left;}
#f_center{width: 600px; margin: 0 auto;}
#former{width: 600px;}
#srch{width: 312px; height: 58px; margin: 200px 0 0 0; padding: 14px 0 0 0; background: url('images/srch_bg.png') no-repeat; float: left;}
#input_text{height: 27px; border: 1px solid #000; margin: 0 0 0 15px; background: url('images/inp_tool.png') white left center no-repeat;}
#input_button{width: 81px; height: 58px; background: url('images/inp_but.png'); margin: 200px 0 0 0; border: none; float: left;}
#clear_form{clear: both;}
#right_box{width: 100px; float: left;}
#right_top{width: 200px; height: 59px; background: url('images/top_left.png') ;}
#right_middle{width: 180px; height: 59px; padding: 0 10px 0 10px; background: url('') right center repeat-y;}
#right_bottom{width: 200px; height: 6px; line-height: 6px; background: url('') repeat-y;}
#clearer{clear: both;}
#ads{width: 680px; margin: 0 auto; text-align: center; font-weight: bold;}
.dummyend[id]{clear:both;}