Witam. Koduję szablon aukcji na Allegro i napotkałem pewien problem. Otóż Div "tresc" nie chce się rozciągać w dół, przez co tekst nachodzi na stopkę. Kod:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> body {
margin:0;
padding:0;
text-align:left;
}
div {
position:relative;
}
#container {
width:1000px;
}
#pasek {
background:url(images/a_01.jpg) no-repeat;
width:1000px;
height:36px;
}
#uzytkownik {
background:url(images/a_02.jpg) no-repeat;
width:445px;
height:50px;
float:left;
}
.uzytkownik_tresc {
font-size:25px;
font-family:Arial;
color:#1d1d1d;
padding-left:110px;
padding-top:11px;
}
#kim_jestesmy {
background:url(images/a_03.jpg) no-repeat;
width:122px;
height:50px;
float:left;
}
#nasze_aukcje {
background:url(images/a_04.jpg) no-repeat;
width:121px;
height:50px;
float:left;
}
#opinie {
background:url(images/a_05.jpg) no-repeat;
width:116px;
height:50px;
float:left;
}
#pytanie {
background:url(images/a_06.jpg) no-repeat;
width:146px;
height:50px;
float:left;
}
#prawo {
background:url(images/a_07.jpg) no-repeat;
width:50px;
height:50px;
float:left;
}
.menu {
height:50px;
width:1000px;
}
#logo {
background:url(images/a_08.jpg) no-repeat;
width:1000px;
height:201px;
}
#tresc {
background:url(images/a_13.jpg);
width:712px;
height:11px;
float:right;
}
.tresc_naglowek {
font-size:24px;
font-family:Myriad Pro;
color:#2e2e2e;
padding-left:170px;
float:left;
}
.tresc_tekst {
font-size:12px;
font-family:Arial;
color:#666666;
padding-top:70px;
padding-left:170px;
}
.lewa_kolumna {
width:288px;
float:left;
}
#kontakt {
background:url(images/a_09.jpg) no-repeat;
width:288px;
height:33px;
}
#platnosci {
background:url(images/a_12.jpg) no-repeat;
width:288px;
height:33px;
}
#lewo_tresc {
background:url(images/a_16.jpg);
width:288px;
}
#przesylka {
background:url(images/a_18.jpg) no-repeat;
width:288px;
height:33px;
}
#stopka {
background:url(images/a_20.jpg) no-repeat;
width:1000px;
height:88px;
float:left;
clear:both;
}
#cale {
background:url(images/cale.jpg) repeat-y;
}
<div class="uzytkownik_tresc"> Twój nick
<div class="lewa_kolumna"> <div id="lewo_tresc">Lorem Ipsum is simply dummy text of the printing and typesetting industry.
</div> <div id="lewo_tresc">hjghj ghj g ghjghjghj ghjghj
</div> <div id="lewo_tresc">Lorem Ipsum is simply dummy text of the printing and typesetting industry.
</div>
<div class="tresc_naglowek">Dowolna nazwa produktu
</div> <div class="tresc_tekst">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
</div> <br style="clear: both;" />
Div z kolumnami po lewej normalnie się rozciąga, a środek już nie, Z góry wielkie dzięki za pomoc.