firefox(火狐)的最小高度怎么设置

2025-05-05 01:51:34
推荐回答(1个)
回答1:

通常情况,如果要定义一个最小高度为600px的div,可以这样写:{height:auto !important;height:600px; min-height:600px;}
则div在IE与firefox中都会有一个最小高度,且高度会自适应内容的长度。