Max-width in IE 6

由 joelhy 于 周五, 09/21/2007 - 08:31 提交。
In IE6, following code can be used to emulate the max-width css property:
  1. _width: expression(clientWidth < 180 ? "auto" : "180px");
In IE7 and firefox, that is simpler:
  1. max-width: 180px;

评论查看选项

选择您喜欢的显示评论的模式,并点击"保存设置"来激活您所做的改变。

谢谢,解决了我问题

谢谢,解决了我问题

评论查看选项

选择您喜欢的显示评论的模式,并点击"保存设置"来激活您所做的改变。

发表新评论

此内容将保密,不会被其他人看见。
  • 网页地址和电子邮件地址将会被自动转换为链接。
  • 允许的 HTML 标签: <img> <p> <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <coolcode>
  • You can use coolfilter tags in the text, to include code and media

更多格式化选项信息