jQuery tablesorter plugin column width incorrect in IE7
-
09-06-2019 - |
Question
I am using the tablesorter plugin (http://tablesorter.com) and am having a problem with column widths in IE7. It looks fine in Firefox and sometimes in IE7.
Here's a screenshot of the problem:
and here's how it's supposed to look:
Solution
This is a common layout problem in IE. If you are using CSS to style the columns width, also add the column widths to the td tags. Set the first column to a percentage that will try to suck up most of the space, like 50% or something. The first column width will take everything that it can and the other columns will abide by their static width.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow