Ocena wątku:
  • 0 głosów - średnia: 0
  • 1
  • 2
  • 3
  • 4
  • 5
Problem z tekxtem. Wylewa sie poza box.
#1
Mam Problem z tekstem.. Zarówno z lewego jak i prawego boxu wylewa mi się :// Nie moge sobie poradzić mimo że mam podzielony div na 2 czesci 250 px i 800px ..

[Obrazek: beztytuuqvb.jpg]


<div id="container">

<div class="top"></div>
<div class="center">

<div id="box">
<div id="lewo">

<div class="top2"></div>
<div class="center2">

<p>ggfdgdfgdfgdfgdfgdfgdfgdfgdfgdehregdfgdfgdfgdfgdfgdfgdfgdfgdehreherheerhhrefgdfgdfgherheerhhrefgdfgdfgdgdfgdfgdfgggd</p>

</div>
<div class="bottom2"></div>
</div>

<div id="prawo">


<div class="top3"></div>
<div class="center3">



</div>
<div class="bottom3"></div>



<div class="clear">
</div>
</div>
<div class="clear"></div>
</div>
</div>
<div class="clear"></div>
</div>

CSS:
#container {
width: 800px;
min-height: 340px;
margin-top: -25px;
margin: 0 auto;


}



div.top {
margin-top: -5px;
width: 800px;
height: 20px;
background: url('images/top.jpg') no-repeat;

}

div.center {
width: 800px;
min-height:6px;
background: url('images/center.jpg') repeat-y;

}


#box {
width:800px;
min-height:300;

}

#lewo {
width:250px;
min-height:300px;
float:left;
padding-top: 0px;

}


div.top2 {
width: 230px;
height: 39px;
margin-left: 10px;
background: #ffffff url('images/box/lefttop.jpg') no-repeat;
}

div.center2 {
max-width: 230px;
min-height: 224px;
margin-left: 10px;
background: #ffffff url('images/box/leftcenter.jpg') repeat-y;
text-align: justify;
color: #000000;
}



div.bottom2 {
width: 230px;
height: 37px;
margin-left: 10px;
background: #ffffff url('images/box/leftbottom.jpg') no-repeat;
}





#prawo {
width:550px;
min-height: 300px;
float:left;

}

div.top3 {
width: 510px;
height: 39px;
margin-left: 20px;
background: #ffffff url('images/box/righttop.jpg') no-repeat;
}

div.center3 {
max-width: 510px;
min-height: 224px;
margin-left: 20px;
background: #ffffff url('images/box/rightcenter.jpg') repeat-y;
text-align: justify;
}


div.bottom3 {
width: 510px;
height: 37px;
margin-left: 20px;
background: #ffffff url('images/box/rightbottom.jpg') no-repeat;
}

.clear {
clear:both;
}









div.bottom {
width: 800px;
height: 20px;
background: transparent url('images/bottom.jpg') no-repeat;

}
Odpowiedz


Wiadomości w tym wątku
Problem z tekxtem. Wylewa sie poza box. - przez kulig9 - 24-07-2010, 20:26

Podobne wątki…
Wątek: Autor Odpowiedzi: Wyświetleń: Ostatni post
  [css] Div poza wymiarem michail_w 2 2,280 16-02-2012, 04:57
Ostatni post: michail_w
  Wyciągnięcie linka poza div malpka32 2 2,679 12-04-2011, 14:56
Ostatni post: malpka32
  Stronka wyjeżdza poza "granice". elotje 1 1,738 24-04-2010, 21:57
Ostatni post: elotje

Skocz do:


Użytkownicy przeglądający ten wątek: 1 gości
Sponsorzy i przyjaciele
SeoHost.pl