html - Image filling vertical space in container -


i've got <div> image on left side , text on right side. how can achieve image fills vertical space?

this how supposed look:

enter image description here

the parent's height change in 3 steps using media queries.

this should make images in div reach top bottom.

<div id="content">     <img src="source.jpg">     other div contents... </div  #content img {      height: 100%; } 

Comments

Popular posts from this blog

gcc - MinGW's ld cannot perform PE operations on non PE output file -

How to connect android app to App engine -

hadoop - Running Map Reduce Job shows error - Mkdirs failed to create /var/folders/ -