A Programmer's Dream

IE6 Makes me see red....

Posted by Stephen Wrighton on 06 Sep 2007

It's official.

I hate IE6. Back when it was the version that everyone was running, I did very, very little with CSS and I had just a general feeling of malaise related to it. I didn't hate it, I just prefered Firefox.

Yet now after the release of IE7 and it's great (though still not perfect) standards compliance with CSS, coupled with the fact that I'm working more and more with CSS, I realized just how much I hate IE6.

Why you ask?

Because I just spent nearly two whole days fixing my layout so that it would work in IE6. Why someone is still running IE6 I have no clue. They should have been upgraded to IE7 by now. Yet, for whatever reason, my layout fell apart in IE6.

First it just wasn't showing up, and then once I got it showing up, the text would be split duplicated across multiple lines. I have to give nods to a couple of other websites out there which helped me solve these problems:
  1. Hack Free CSS for IE
  2. IE Duplicate Characters Bugs
So, I have these thoughts on what could be causing my problems, and am doing things like destroying the functionality for the collapsing navigation system, and removing all comments and hidden fields from the page. Ultimately, my solution is two fold, and both things are aimed at IE6 where all other browsers will ignore them.

First to kill the duplicate characters bug that was appearing on nearly every link I had, was this bit of code:

Then I also added this to my longer links, to force a wrap and keep the display from hiding characters:

Goodness, I despise, IE hacks.

Tweet me @kidananubix if you like this post.

Tweet