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

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

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

Also here:

8条回答
  •  粉色の甜心
    2021-01-22 20:15

    Your text 1
    Your text 2
    • The reason is you didn't put exact height (150px) for the first .
    • One more thing, you have already put exact height for th first height, you only need to height = 100% for inside tags.

    Here is the result: http://jsfiddle.net/4JgA4/117/

提交回复
热议问题