Ruby's Louvre

每天学习一点点算法

导航

让 IE6支持max-height

min-height

min-height:100px;
_height:100px

max-height

max-height:200px;
overflow:auto;/*超出部分显示滚动条*/
_height: expression(this.scrollHeight > 200 ? "200px" : "auto");

相关键接

posted on 2014-07-30 16:09  司徒正美  阅读(1415)  评论(1编辑  收藏  举报