Here is my code:
.one, .two{
border: 1px solid;
}
.one{
float:left;
display: block;
clear:both;
}
.two{
display: block;
width: 100%;
}
<div class="one">something</div>
<div class="two">something else</div>
As you can see both elements are next to each other. While I want to keep them under each other. I mean the div.two should be on the bottom of div.one. Noted that div.one should have float:left property (I cannot remove it).
Also both clear:both and display:block doesn't work as expected. Any idea how can I do that?