css - MSIE 6 中的最小宽度

标签 css internet-explorer internet-explorer-6

模仿 Internet Explorer 6 中的 CSS 属性最小宽度的最终方法是什么?最好不要尝试吗?

最佳答案

foo { min-width: 100px }      // for everyone
* html foo { width: 100px }   // just for IE

(或使用 conditional comments 为 IE 提供单独的样式表)

关于css - MSIE 6 中的最小宽度,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/93274/

相关文章:

internet-explorer-6 - 没有javascript的IE6中的最小/最大宽度?

html - bootstrap 中的语言符号

javascript - 如何使用 jQuery 获取段落高度?

html - 为什么 Internet Explorer 不将 CSS 应用于 "invalid"元素?

javascript - 当我将悬停节点移动到新位置时,它仍显示为悬停状态。我怎样才能取消悬停它?

javascript -/*@cc_on和IE6检测

css - 如果我在 IE 中重复一个 CSS 样式会怎样?

html - css - 动画迭代计数总是无限的。期望 1 次迭代

javascript - HTML 元素被水平线分成两半(在其腰部)

jquery - IE中请求Content-Length等于0