Вижте имам една табличка сам си направил обаче като му слойа Флоат лефт и се размества и трябва да го сложа и на главния див а като го сложа на него всичко е наред просто не е в центара вижте
това мие цсс
а това е малко от html
това мие цсс
Код:
div.Glaven {
background-image:url(../img/index_table_bg.jpg);
border: 1px solid #A1A1A1;
margin-left:auto;
margin-right:auto;
float:left;
height:186;
width:752px;
}
div.kontainer {
border-right: 2px dotted #A1A1A1;
float:left;
height:auto;
width:186px;
}
div.kontainer4 {
float:left;
height:auto;
width:186px;
}
div.opisanie_div {
height:auto;
width:160px;
margin-left:auto;
margin-right:auto;
}
а това е малко от html
Код:
<div class="Glaven">
<div class="kontainer">
<div id="container"> <img src="img/photo/the-image.jpg" width="163" height="65" id="main" /><img id="minor" src="img/photo/frame.png" alt=""></div>
<div class="zaglavie"><b> lithurin I </b></div>
<div class="opisanie_div">
<div class="opisanie">Lithurin I A liquid product water based, which eliminates the formation of concrete dust, cures, seals and protects the concrete surfaces. It is suitable for application onto all...</div>
</div>
<br />
<div align="center"><a href="#"><img src="img/more_info.png" alt="More info" width="59" height="25" border="0" /></a></div>
</div>
<div class="kontainer">
<div id="container"> <img src="img/photo/the-image.jpg" width="163" height="65" id="main" /><img id="minor" src="img/photo/frame.png" alt=""></div>
<div class="zaglavie"><b> lithurin I </b></div>
<div class="opisanie_div">
<div class="opisanie">Lithurin I A liquid product water based, which eliminates the formation of concrete dust, cures, seals and protects the concrete surfaces. It is suitable for application onto all...</div>
</div>
<br />
<div align="center"><a href="#"><img src="img/more_info.png" alt="More info" width="59" height="25" border="0" /></a></div>
</div>
</div>