Dobrý deň,chcem sa opytať či sa daju dať vedla seba dve okna divu,ale tak aby sa uložili automaticky vedla seba,aby to nemuselo byť v css určené...
HTML kód:
<div id="ramcek">
<img src="../images/img.jpg"> <br>
cena: 1,20€<br>
<input type="submit" name="tl1" class="kupit" value="">
<input type="submit" name="tl2" class="detail" value="">
</div>
<div id="ramcek">
<img src="../images/img.jpg"> <br>
cena: 1,20€<br>
<input type="submit" name="tl1" class="kupit" value="">
<input type="submit" name="tl2" class="detail" value="">
a css:
/* Obsah*/
div#obsah {background: #373c5b url('../images/bg.jpg'); background-repeat:repeat-x;width: 100%; height: auto; margin: 0px auto 0px auto; padding: 0px 0px 0px; position: relative; display: block; text-align: center;}
div#obsah div#center {background: #e0dddd; width: 964px; min-height: 500px; margin: 0px auto 0px auto; padding: 0px 0px 0px; position: relative; display: block;}
div#obsah div#center div#stred{width: 594px; height: auto; float:left; margin:0px 0px 0px 0px; left:186px; background: #e0dddd;}
div#obsah div#center div#stred div#ramcek {border:1px solid #a4a1a1; width: 169px; min-height: 169px; margin: 10px 0px 0px 10px; padding: 0px 0px 0px; position: relative; display: block; text-align: center; font-size:15px;}
div#obsah div#center div#stred div#ramcek img {margin: 3px 3px 3px 3px; text-align: center;}
div#obsah div#center div#stred div#ramcek input.kupit {background: #373c5b url('../images/kupit.jpg');width: 69px; height: 23px; border:0px; margin: 0px 0px 5px 0px;}
div#obsah div#center div#stred div#ramcek input.detail {background: #373c5b url('../images/detaily.jpg');width: 69px; height: 23px; border:0px;margin: 0px 0px 5px 0px;}
čo tam musim upraviť ak sa to dá...Ďakujem