开发者

why different frames height in chrome and IE7 [duplicate]

This question already has an answer here: height=100% do not work (1 answer) Closed 2 years ago.

i have two frames in one开发者_开发问答 html page, which display correctly in chrome browser.but when i tried in IE7 it just looks very strange,its height is not 100% any more !the below is the code .

<iframe src ="demoFramesetLeftFrame.jsp" name="treeframe" id="treeframe" height="100%" width="200px" frameborder="0">
</iframe>
<iframe src="" name="basefrm" id="basefrm" height="100%" width="" frameborder="0">
</iframe>

i can't see any error in the code.does anyone knows what is the problem? thanks a million !


Try with this rule defined in your CSS

html,body { width:100%; height:100%; padding:0; margin:0 }
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜