това ми представляват div-вете
а това ми е са класовете, но не мога да наместя бекграунда в top_bg класа да се повтаря по y, но и да е под всички други картинки и да не измества другите div-ве
ето и това което се получава
Код:
<div id="general">
<div id="header"></div>
<div id="search"></div>
<div id="top">
<div class="top_bg"></div>
<div id="top_banner"></div>
<div id="left">
<div id="menu"></div>
<div id="meteo"></div>
<div id="pool"></div>
</div>
<div id="right">
<div id="right_banner"></div>
<div id="facebook"></div>
</div>
<div class="clear"></div>
</div>
<div id="footer"></div>
</div>
а това ми е са класовете, но не мога да наместя бекграунда в top_bg класа да се повтаря по y, но и да е под всички други картинки и да не измества другите div-ве
Код:
/* CSS Document */
*{
margin: 0px;
padding: 0px;
list-style: none;
text-decoration: none;
border: none;
}
body{
font: 12px Verdana;
color: #2f2f2f;
background:url(images/bg.gif);
}
#general {
width:900px;
position: relative;
left: 50%;
margin-left: -450px;
}
#header {
background:url(images/header.jpg) no-repeat;
width:656px;
height:141px;
margin-left:154px;
}
#search {
background:url(images/seach.jpg) no-repeat;
width:872px;
height:33px;
}
#menu {
background:url(images/menu.jpg) no-repeat;
width:154px;
height:325px;
margin-top:0px;
padding-top:0px;
}
#top {
width:809px;
}
.top_bg {
background:url(images/top_bg.jpg) repeat-y;
width:655px;
margin-left:154px;
}
#top_banner {
background:url(images/top_banner.jpg) no-repeat;
width:655px;
height:187px;
margin-left:154px;
position:absolute;
}
#left {
width:212px;
float:left;
}
#right {
width:210px;
float:right;
}
.clear { clear:both; }
#right_banner {
background:url(images/right_banner_src.jpg) no-repeat;
width:275px;
height:291px;
margin-top:187px;
margin-left:9px;
}
#facebook {
background:url(images/facebook_src.jpg) no-repeat;
width:264px;
height:257px;
margin-left:9px;
}
#meteo {
background:url(images/meteo.jpg) no-repeat;
width:212px;
height:200px;
}
#pool {
background:url(images/pool.jpg) no-repeat;
width:212px;
height:203px;
}
#footer {
background:url(images/footer.jpg) no-repeat;
width:656px;
height:34px;
margin-left:153px;
}
ето и това което се получава