Aug 05
Trash All IE Hacks
Let’s admit it, we all hate Internet Explorer 6. About 80% of our CSS debug time are spend on IE6. We all know that IE6 is outdated and has horrible CSS rendering engine. However, most average Internet users haven’t realized that yet. Why? Because we put our hard work on it and patch the bugs by various IE hacks. Well, it is time to do something…
Common IE hacks
-
CSS Conditional comments
In order for our sites to work on specific verson of IE (due to improper CSS rendering), CSS conditional comments are used to apply special CSS specifications to fix it. If you haven’t realized this yet, read the IE bug articles on positioniseverything.net (warning: you might hate IE more after you read them). -
PNG hack
As mentioned early, IE6 is outdated and doesn’t support PNG alpha transparency. In order to display PNG (with alpha transparency) properly in IE6 or older version, we use this hack.Aleksey asked on "Simple Double Quotes":
"Hello Nick. I see some bug.
The Close button ( X ) don’t transparent. Test on IE6 and MyIE."My response:
"Yes, I know the PNGs don’t display probably in IE6. But guess what, I’m not going to bother to fix it. I’m sick of hacking IE6 bugs. You should upgrade your browser anyway. Why are you still using the outdated browser?"
Why trash IE6 hacks?
I know this is difficult because about 37% (according to w3schools.com) of internet users are still using IE6. But, together we can make a different. Stop using IE hacks on your sites and let them see the ugly side of IE6. Eventually, they will find a better browser (ie. Firefox) or at least upgrade to newer version of IE.
Update:
Agree with the comments below, the statistic from W3schools does not reflect the entire internet. According to TheCounter.com, the global browser stats of IE6 users is 52% in July 2007.
Support me
If you agree with me, please support Web Designer Wall by making a vote and spreading out the word. Let’s trash all IE hacks and code happily ever after…
Conclusion
85% voted yes
15% voted no
Here are what people have said:
- "My boss will fire me if my sites don’t work in IE6" because 52% of internet users are still using IE6.
- Display a message (in yellow bar), "You are using an outdated browser, please upgrade your browser" to IE6 users.
- If it is a personal project, you can ignore all the IE6 users. But for professional or commercial projects, you can’t live without them.
- Avoid using any features (ie. PNG, CSS selectors) that are not supported by IE6.
Illustrating the Flower Pattern Neil Duerden
Comments
Pages: 40 39 38 37 36 35 34 33 32 31 30 … 1 » Show All
There are 399 comments (+Add)
Pages: 40 39 38 37 36 35 34 33 32 31 30 … 1 » Show All











399 Sean http://www.think-design.co.a
July 3rd, 2009 at 2:42 am
Maybe we should start charging Microsoft for our time spent fixing their mistakes. Currently I am fixing a site now, taking longer then it did to style it :(. I think i have spent 24 hours this year fixing IE not only in CSS but Javascript too (javascript is even worse in IE). I just can’t understand why they can’t follow the w3c standard. So this year IE has cost me $1,440.00 and they also now have IE8 that still has more issues.
398 mini notebook http://www.notebooksepeti.com/urun/acer-asone-aod150-netbook-mini-notebook.aspx
July 2nd, 2009 at 9:39 am
Intel® Atom N280 1.66Ghz, 1GB, 160GB, 10,1″ Windows XP Home - Mavi güzel bir mini notebook
397 mini notebook http://www.notebooksepeti.com/urun/lg-x120-l.c7b3t-mini-notebook.aspx
July 2nd, 2009 at 9:37 am
Atom işlemcili iyi notebook
396 mini notebook http://www.notebooksepeti.com/urun/acer-asone-aod250-mini-notebook.aspx
July 2nd, 2009 at 9:35 am
güzel bir notebook
395 mini notebook http://www.notebooksepeti.com/urun/asus-n10-jc160-mini-notebook-netbook.aspx
July 2nd, 2009 at 9:34 am
mini notebook çok güzel
394 mini notebook http://www.notebooksepeti.com/urun/acer-asone-aod250-mini-notebook.aspx
July 2nd, 2009 at 9:19 am
çok güzel mini notebook
393 mini notebook http://www.notebooksepeti.com/urun/acer-asone-aod250-mini-notebook.aspx
July 2nd, 2009 at 9:16 am
en iyi mini notebook!
392 mini notebook http://www.notebooksepeti.com/urun/packard-bell-nebo-dotm-tk001-mini-notebook.aspx
July 2nd, 2009 at 9:14 am
this is the best mini notebook!
391 mini notebook http://www.notebooksepeti.com/urun/lenovo-ideapad-s10-white-mini-notebook-netbook.aspx
July 2nd, 2009 at 9:12 am
mini notebook çok şık
390 mini notebook http://www.notebooksepeti.com/urun/intel-atom-n270-1.60-ghz.aspx
July 2nd, 2009 at 9:08 am
çok kullanışlı mini notebooklar