I want to make to 2 div
's height equal, if one is bigger another should stretch to its height. I want to use only CSS
. Following is my code(Fiddle):
HTML:
<div class="common">
lorem ipusm random text just for check
</div>
<div class="common">
lorem ipusm random text just for check lorem ipusm random text just for check
</div>
CSS:
.common{
border:1px solid red;
float:left;
margin-left:5px;
width:20%;
padding:5px;
}
This is fiddle for this