IE6 Cheatsheet: How To Fix Internet Explorer 6 Bugs
virtuosimedia.com
virtuosimedia.com
Amen.
"This isn't one of those rants about IE6 or a campaign to try to kill it. There are enough of those around the web, but they don't help if you need to support IE6 because it still has a significant enough marketshare that you can't ignore it for business reasons. No, this is the resource you've been hoping for."
But yes, I'd love not to support IE6 in all of my work, but that's just not happening...yet.
It's often simpler, though not necessarily easier, to code a design with progressive enhancement in mind rather than graceful degradation. Designing a structure that functions properly in IE6 is not difficult.
(Not that I like IE6, I just have to support it.)
The Addthis script you're using has an onReady method that gets called 94 times on pageload and takes an average 12 seconds to run each time. During this time Firefox gets the dreaded beachball/umbrella.
I'm having similar issues on a site we're using sharethis on, but not quite that bad on page load - it does increase the constant load on the cpu by about 15% though.
Be careful when using these widgets...
(macbook pro; 2.4ghz; 4gb ram; ff 3.0)
Edit: I just tried it in Firefox 3.5.2 and no problem either.
I'm running Mac OS X Snow Leopard on a Macbook 2ghz duo, 2gb ram.
Possibilities: It could be Firefox 3.0, try updating. Or it might be the 64 bit power of Snow Leopard that makes it faster for me. But then again Firefox is still a 32 bit application.
In other words, the people who made the irresponsible decision to stick with old software should have to cover the cost of fixing it. Every site on the Internet should not continue to cover this cost for them.
#page { background-color: white; _background-color: black; }
This applies background-color black to IE 6 only, and white to everything else.
Include a new stylesheet via conditional comments and you can isolate any IE browser while not needing any hacks. (i.e., you can just declare the background color directly)
I do still think its interesting and may be useful in cases where you might have access to only CSS and not templates.
TBH I usually do this sort of thing (add an ie6.css file instead of a hack) as I tend to over-engineer rather than keeping to the agreed spec and work schedule.
If you code to standards and follow unobtrusive / degradable javascript patterns, your site should work without stylesheets and javascript anyway :)
zoom:1
Learn it, love it, use it.It makes IE use its old renderer calculations (hasLayout) for whatever element you put it on, so it often fixes disappearing items, incorrect overflow, floats, padding/spacing etc. If your style looks correct in other browsers, give zoom:1 a shot on IE6 and see if it fixes things before wasting another minute.
ps. For those that are validation crazy, there are other triggers for hasLayout that will validate (certain padding, margins, etc.) but they vary from element to element, whether they have ancestors, etc. and you'll waste a great deal of time figuring them out.
The only drawback is that it doesn't validate. You can either wrap it in a conditional comment or incur the wrath of the standardistas and leave it be.
I'm not meaning to put you down, but I just don't understand this validation craze -- beyond the fact that you can say "it validates, does yours?" It seems as though it is some sort of psychological/sociological game... and I was hoping us developers were beyond that sort of thing.
I would be more impressed if there were a validation that said: "This actually looks like it should in X, Y, and Z browsers."
The MSIE team basically created an undocumented system called hasLayout and didn't bother to tell anyone until the fixes had been found - if I add "zoom:1" there's nothing to say that the next update of MSIE won't balk at that or that W3C won't adopt zoom using % making my pages potentially (only in later IE I'd warrant) zoom to 1%.
As for "looks like it should" I'm sure you know that (X)HTML & CSS are not intended to convey the same visual expression to every browser. If you want identical visuals then web pages aren't what you're after.
Yes I have used zoom on pages when clients haven't been bothered about web standards. I contend that accessibility of pages by _all_ well-made browsers can only be assured by coding to the agreed standards.
MS: whacks man on head
man: "hey, wtf?"
MS: whacks man on head
man (putting on helmet): "please don't do that it's not right" (doesn't meet the arbitrary standards of public decency!)
MS: "Put a helmet on or when we whack you it will hurt bad"
MS: whacks
man: "Stop hitting me and it won't hurt at all"
I don't mind Vista any longer, and this was written on Vista, but I don't like it. If you want to talk about refusing to upgrade... I still like Windows 98 better than all "improvements" upon it, because it never crashed on me.
:-)
Check it out here: http://www.my-debugbar.com/wiki/IETester/HomePage
(I was mainly asking DrJokepu.)