Hi!
I hope to explain my problem simple in order to get good feedback :)
Imagine this scenario: One DIV wrapper within two floating DIVs, next to each other, with fixed width. All of them with overflow hidden.
But when decreasing the width of the wrapper (or increasing the children's) the last DIV collapsed instead of hide. Please, check out the code. THANK you very much in advance!
#wrapper{
width:400px;
overflow:hidden;
border:1px dashed #0033FF;
}
#wrapper .tContent{
width:210px;
height:200px;
float:left;
overflow:hidden;
}
HTML:
<div id="wrapper">
<div class="tContent">
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat
</p>
</div>
<div class="tContent">
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat </p>
</div>
How do you solve that? avoid the collapsing and keeping the floating and hiding if necessary?