CSS height 100% in IE7

后端 未结 2 865
半阙折子戏
半阙折子戏 2021-01-20 15:09

I have a difficult layout in my website and I have a problem now with IE7. How can I in this example set the inner wrapper to fill the height of the outer wrapper?

h

2条回答
  •  半阙折子戏
    2021-01-20 15:40

    You have to explicitly define the height of .wrapper, in that situation. That being said, if your top: and bottom: attributes are going to make the height dynamic, your only solution is resetting the height with JavaScript, binding the height to update on window resize, etc.

提交回复
热议问题