How to make div occupy remaining height?

前端 未结 11 1071
遇见更好的自我
遇见更好的自我 2020-11-27 12:49

I have this problem, I have two divs:

<
11条回答
  •  抹茶落季
    2020-11-27 13:28

    With CSS tables, you could wrap a div around the two you have there and use this css/html structure:

    
    
    

    Depends on what browsers support these display types, however. I don't think IE8 and below do. EDIT: Scratch that-- IE8 does support CSS tables.

提交回复
热议问题