无法在Firefox 3.6中获取最小高度在表上工作 [英] Unable to get min-height to work on table in Firefox 3.6

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

问题描述

我有一个问题,min-height不工作在我绝对的位置表。但是,我能够得到它工作在IE 6使用高度(因为我知道IE 6对待高度像最小高度)

I have an issue with min-height not working on my absolutely postioned table. But, I'm able to get it working in IE 6 using height (as i know IE 6 treats height like min-height)

任何线索,如何我可以得到

Any clues on how I can get this working?

<table cellspacing="0" style="position:absolute;top:300px;left:0;width:100%;min-height:100px; height: auto !important; height: 100px">
<tr>
<td> adawdaaw </td>
<td> fefsfs </td>
</tr>
</table>


推荐答案

只需使用 height:100px ,因为它被解释为表上的最小高度。

Just use height:100px as this interpreted as minimum height on tables anyway.

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

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