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 Rails

Removing fields with a Rails migration

Ruby on Rails gives you powerful tools to make removing old fields easy, lets walk through how we can do this

JavaScript

Calculating Instagram Velocity From Your Browser

A small script that lets you quickly work out the velocity for posts within a hashtag