在Firefox中的表的最小高度不工作 [英] Min-Height for a table in firefox not working

查看:83
本文介绍了在Firefox中的表的最小高度不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

基本上,我想有一个最小高度为我的表,所以,作为响应,它可以调整自己的手段。这工作精美的铬,但它真的不喜欢FireFox,尝试显示:块;

 

table-wrap {
min-height:323px;
}

表{
width:100%;
min-height:323px;
}

table tr {
min-height:54px;
}


解决方案

高度。如果内容较高,表将仍会放大


Basically, i would like to have a min-height for my table, so that responsively it can adjust at it's own means. This works beautifully in chrome but it really doesn't like FireFox, tried the display:block; but that makes things worse on chrome.

Thanks.

.table-wrap {
    min-height: 323px;
}

table {
    width: 100%;
    min-height: 323px;
}

table tr {
    min-height: 54px;
}

解决方案

change table's min-height to height. if the content is higher, table will be enlarged anyway

这篇关于在Firefox中的表的最小高度不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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