拥有最小高度能自适应高度同时全兼容IE、FF的div设置

拥有最小高度能自适应高度同时全兼容IE、FF的div设置

复制代码代码如下:
!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://imgbuyun.weixiu-service.com/up79/202210/ztpnxtjgroa.dtd"
html xmlns="http://imgbuyun.weixiu-service.com/up79/202210/fm3yqdcez44" xml:lang="zh" lang="zh"
head profile="http://imgbuyun.weixiu-service.com/up79/202210/c5putyl4uu4"
meta http-equiv="content-language" content="zh-cn" /
meta http-equiv="content-type" content="text/html;charset=gb2312" /
titlehttp://justinyoung.cnblogs.com//title
style type="text/css"
/*![CDATA[*/
div {
width:200px;
height:auto!important;
height:200px;
min-height:200px;
border:1px solid green;
}
/*]]*/
/style
/head
body
divYes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! Yes!/B/S! /div
/body
/html

推荐阅读

    ie支持function.bind()方法实现代码

    ie支持function.bind()方法实现代码,方法,支持,复制,执行,原生,对象,浏览,前端开发者应该很清楚 Javscript 脚本的 function 函数对象可以

    IE8采用多兼容模式正常显示网页

    IE8采用多兼容模式正常显示网页,网页,兼容模式,浏览器,模式,兼容,产品,多种,IE8将具有多种兼容模式。IE平台建筑师Chris Wilson在博客中写

    ie10 css hack 条件注释等兼容方式整理

    ie10 css hack 条件注释等兼容方式整理,注释,条件,支持,方法,兼容,整理,检测,ie10已经上线一段时间了,相信已经有一部分前端潮人体验过了,但

    让IE8启动IE7兼容模式的代码

    让IE8启动IE7兼容模式的代码,兼容模式,兼容性问题,模式,启动,调用,热门,版本更新,热门的tag非IE8莫属 各浏览器厂商争相发布版本更新 部分

    padding ie 不兼容问题

    padding ie 不兼容问题,不兼容,使用说明,识别,情况,都不,这种情况,不正常,通常我们遇到3种情况:IE6 正常 IE7/FF不正常这种情况下我们这样

    bootstrap3 兼容IE8浏览器!

    bootstrap3 兼容IE8浏览器!,浏览器,兼容,学习,支持,版本,引用,最新, 近期在使用bootstrap这个优秀的前端框架,这个框架非常强大,框架里面有下