mardi 21 avril 2015

how to make two left floated div vertically

hey i have a user info div that have user pic ,user name , user bio divs , now i want to user pic to left side and Name & bio is other side ,

Html

<div class="user-info">
<div class="user-pic">
    <img src="" class="u-pic"/>
</div> 
<div class="user-name">Jon Doe</div>   
<div class="user-bio">I am a english teacher</div></div>

Jsfiddle

After doing this all divs have same height but i want name div to be in top and bio div should in bottom of name div .

thanks

Aucun commentaire:

Enregistrer un commentaire