html - Same inner div image height as the outer -


my inner image should have same height outer div.

my code is:

<div>    <div class="col_2_fifth">       <figure>          <img src="....." />       </figure>    </div>    <div class="col_3_fifth">       <div class="description">           <p>....</p>       </div>    </div> </div> 

but image height less parent div height.

what can now? can fix jquery/js or css?

simply write:

figure img {height:100%:} 

Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -