Aug
17

IE7 ignoring table cell widths

By Sam  //  IE Problems  //  No Comments

I’ve been creating a fluid layout design with some nested data tables in and needed some of my columns to line up. No problem at all in Firefox and Safari but IE7 didn’t want to play nicely – I tried width=, style= and class= but IE ignored it all.

After a bit of Googling I found http://vinhboy.com/blog/2009/02/13/ie7-table-width/

Basically, you just need to put…

table{ table-layout:fixed; }

…in your stylesheet and IE will start listening to your width declarations.

Leave a comment

Sponsored links