IE7 td colspan width 'issue'

A thing which I believe IE7 have actually usefully gotten right

Sometimes IE7 gets it right.

An example of this would be when you have a td with a CSS property of width: 100px; and apply a colspan of say 3.

What most browsers seem to do is take that width and multiply it by the colspan, whilst this is sometimes useful it isn't what you asked the browser to do.

IE7 doesn't assume anything, it applies the colspan first then looks at the CSS and says 'hold on a minute, they want this width set to 100px' and applies it.

In my opinion that is the way it should work and well done IE7 for not trying to second guess me.


Recent posts View all

Ruby

The best way to test model scopes in Rails

Learn about Rails scopes and how to best test them with both Rspec and Minitest

Ruby

Finding out what called a Ruby method

A quick way to understand what is calling your code using the caller method