随笔 - 579  文章 - 2 评论 - 35 阅读 - 56万
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

07 2011 档案
IE6 min-height及max-height解决办法
摘要:.box{ max-height:140px; _height:expression(this.scrollHeight > 140 ? "140px" : "auto"); overflow:auto; }再将其扩展之,则:.box{ max-height:140px; min-height:40px; _height:expression(this.scrollHeight > 140 ? "140px" : (this.scrollHeight < 40 ? "40px" : "a 阅读全文
posted @ 2011-07-26 19:13 Dufe王彬 阅读(262) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示