Here's some fun for today. Trying putting the following in the css code for a web page:
#container {
width:expression(document.body.clientWidth < 800? "800px": "auto" );
}
Now resize your internet explorer window so it's less than 800 pixels wide (or change 800 in the css rule to a much larger number). Now visit the site and watch internet explorer crash and burn.
Now change it to this:
#container {
width:expression(document.body.clientWidth < 800? "790px": "auto" );
}
Watch internet explorer be perfectly happy with this. As an aside, if IE < 6 support minimum widths this wouldn't even be an issue.
Now try to figure out why some people, using the latest version of IE on the latest version of windows XP, claim they cannot view your website even though it works just fine on your windows xp machine with the same version of IE. If you are lucky, you'll find some people nearby with this problem who will let you visit their office and check their computer. After you determine that plugins and software versions aren't the issue and you can't figure out what is special about these few computers, you might bang your head on the wall before realizing that they had a sidebar open making the actual browser window very small. Then you might visit the site in IE and resize the window nice and small and witness none other than a crash.
After that, you'd probably realize that Internet Explorer is the enemy of any web developer.
Comments
Post new comment