Internet Explorer的最小高度属性 [英] min-height property for internet explorer

查看:166
本文介绍了Internet Explorer的最小高度属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我在我的一个Web应用程序中使用了此CSS属性min-height:****,我想将div的最小高度保持为一定数量的像素.

好的,我已经做到了,它在Mozilla Chrome和其他浏览器中都可以正常工作,只是在Internet Explorer 8中无法正常工作.这是代码

Hello Everyone,

I was using this CSS Property min-height:**** for one of my web application where I want to keep the minimum height of a div to a certain amount of pixels.

Ok, I have done it and it is working fine in Mozilla Chrome and other browsers just not working in Internet Explorer 8. Here is the code

#Content{
	min-height:400px;
	width:900px;
	background-color:#F7F2B2;
	background-image: URL(../image/ContentBackground.gif);
	background-repeat: repeat-x repeat-y;
}


HTML代码


HTML Code

<div id="Content">
content goes here.
</div>


现在,所有浏览器中显示的该div的最小高度为400px.但是它不能在Internet Explorer 8版中使用.

Internet Explorer是否有其他代码.

请让我知道.

在此先谢谢您.


Now this div''s minimum height shown in all browsers is 400px. But it is not working in Internet Explorer version 8.

Is there a different code for Internet Explorer.

Please Let me know.

Thanks in advance.

推荐答案

在这里您要走

Internet Explorer中的最大和最小高度和宽度 [ ^ ]
Here you go

Maximum and Minimum Height and Width in Internet Explorer[^]


这篇关于Internet Explorer的最小高度属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆