The site has something resembling a design now. It probably looks like dank ass in Internet Explorer 6, but I’m without a Windows machine for testing and don’t have the inclination to jump through hoops for it anyway. I might take a quick peek at lunch at work on Monday.
But to be honest, as long as it’s not completely broken, I’ll be cool with it looking kind of wonky. It validates and I don’t think I’ve done anything to completely munt up the experience except for the PNG I use for the heading, which might not look so good, though I’ve used a script that claims it could help.
In any event I figure if it looks OK and isn’t unusable then I’m sure they’ll deal. It’s a blog, fer crying out loud. I’ve used a quick-n-dirty spot of PHP to detect IE overall from the browser query string.
function has_ie() {
if (isset($_SERVER['HTTP_USER_AGENT'])
&& (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false))
return true;
else
return false;
}
Then, just use that function for good or evil wherever the need is required.
if (has_ie()) {
// do some stuff here
}
At the moment I’m using it to leave a polite message at the top of the screen for the suckers. Really straightforward, and if you’re a PHP type you could use it to selectively include IE 8’s shonky meta tag, if you plan to do that.
If you are looking for something with a little more granularity this isn’t it. Google php user-agent detection for more complex and undoubtedly more useful examples.