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

Web Dev

Creating draft posts in Jekyll

How to create and develop with draft posts in Jekyll

Ruby

Forcing a Rails database column to be not null

How you can force a table column to always have something in it with Rails