June 2007 | Main | January 2008

October 3, 2007

The world is Grey/Gray

I've always been confused about the correct English spelling of that color between white and black. But it turns out, browsers are sometimes confused as well.

Firefox supports both gray and grey, as well as lightgrey and lightgray.

Internet Explorer only supports gray. And to confuse me even more, it only supports lightgrey. And if you try to set lightgray using js, you get an exception (Invalid Property Value). Which took a bit to figure out today as part of a bug.

If only the world were black and white.

Posted by doron at 7:37 AM | Comments (2)