Posts for January, 2008

Focus event handler run in different order in IE than Firefox

I wanted to document a bit of an edge case browser incompatibility that I found: that event handlers aren’t always run in the same order in IE as they do in other browsers. It’s a bit of a strange case where we were doing something not entirely sensible. :) There was an input box which […]
Published in Browser quirks on Wednesday, January 16th, 2008

Validating your pages (the technical bit)

So hopefully now you’re convinced that validation is A Good Thing, have decided which doctype you’re going to use and have resolved never to use quirks mode again. Check, check, check. Ok people, that means enough of the talking. We are finally get to the technical stuff: how to validate pages! Validating using the W3C […]
Published in ASP.NET on Sunday, January 13th, 2008

Friends don’t let friends use quirks mode

Having a doctype in your webpage isn’t just about making your webpage validate. The most important practical reason to include one is to make sure the browsers are rendering in standards compliance mode. Most browsers have two modes for displaying webpages, standards mode and quirks mode. Webpages with a doctype are rendered using standards mode, […]
Published in ASP.NET on Monday, January 7th, 2008