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

VS CodeWeb Dev

Select multiple lines in VS Code

How to select multiple lines to edit at once within VS Code

VS Code Web Dev

Move a line up or down with VS Code

A quick tip on moving lines up or down a file using your keyboard in VS Code