开发者

Div height in IE8 compatibility mode

I have given a div height of 150px. The height is not shown in IE8 compatibility view. Please find the URL of the page below. The css clas开发者_运维百科s name is MenuList.

Test


The div is being shown with the correct height, however the bottom half is not visible because other divs have been positioned over it.

You can verify this by using the F12 tool in IE and clicking it.

Perhaps you can change the z-order to bring it forward. I would still consider rewriting it to use less divs though.


It's got to do with the position:absolute;.
Try using F12 and inspect that div, and turn off the position: absolute; style - you'll see the parent expand.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜