【问题标题】:jQuery tablesorter plugin column width incorrect in IE7IE7中的jQuery tablesorter插件列宽不正确
【发布时间】:2010-09-07 16:30:37
【问题描述】:

我正在使用 tablesorter 插件 (http://tablesorter.com) 并且在 IE7 中遇到了列宽问题。它在 Firefox 和 IE7 中看起来不错。

这是问题的截图:

IE7 View

这是它的外观:

Firefox view

【问题讨论】:

    标签: javascript jquery html internet-explorer-7 tablesorter


    【解决方案1】:

    这是 IE 中常见的布局问题。如果您使用 CSS 来设置列宽样式,还要将列宽添加到 td 标签。将第一列设置为将尝试占用大部分空间的百分比,例如 50% 或其他值。第一列的宽度将尽其所能,其他列将遵守它们的静态宽度。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-06-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多