html - How snuggle DIV to bottom side -


enter image description herei have block:

<div class="block">     <div class="image">         <span class="grow">4</span>         <img src="images/rate_doctor_photo.png">     </div>     <div class="rate" style="background:#00a7ff">         <div class="ln"></div>         <span>Алексей Романов Олегович</span>     </div> </div> 

how shuggle block class="image" block class="rate" remark: bloks class="rate" have different height always

try so:

.image, .rate{     display:inline-block;     vertical-align:bottom;     margin-left:-4px; } 

http://jsfiddle.net/dacrosby/7xjtc/


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -