height 100% doesn't work, two divs inside div

后端 未结 8 1553
伪装坚强ぢ
伪装坚强ぢ 2021-01-22 19:45

See css: http://jsfiddle.net/4JgA4/114/

Also here:

8条回答
  •  礼貌的吻别
    2021-01-22 20:23

    if you want to set 100% height of any element you have to set the 100% to its parent element as well. Here is good explanation on how to do it with working example - http://www.tutorialrepublic.com/faq/how-to-set-a-div-height-to-100-percent-using-css.php

提交回复
热议问题