C
Corey B
Paul said:I would say so. Code to the standard, not to someone else's bugs. If some
particular browser can't hack standard code, the bug is with the browser,
not with your code. Unless you're coding something specific for some
closed userbase that you know will all be using the same environment, you
can't guarantee that they'll be visiting your site using the browsers
you've tested against.
Never break your project's code to fix a completely unrelated project's
problems: You're simply shifting the blame from the actual problem to the
users who didn't experience that problem to start with. Let unrelated
project fix it's own code.
That sounds great in theory, however it's not very good in practice.
If I am a company, then my website is a reflection of that company.
The experience that people have on my website has a direct impact on
how they feel about my company and whether they will buy my products or
not. The vast majority of "regular" web users out there (non
technical) use Internet Explorer 6. I better make sure that my web
site looks nice on IE6 and runs without errors - regardless of
standards. If my web site breaks or looks really crappy, Joe Average
User will not think to himself "gee, Microsoft makes a crappy, non
standard browser", he will think "pretty amateur website, maybe an
amateur company". Because of its huge market share, we are stuck with
making sure our sites work well and look nice in whatever versions of
IE are out there.
Corey