Web Designers' Edge – The Self-Taught Designer's Best Friend

Taming The IE6 Beast

Internet Explorer 6.0“Internet Explorer 6.0″. The freelance web designer, and especially one who is self-taught, will shudder when hearing the name of this infamous browser.

BUT, as much as we all hate it, and struggle with it when we are new, if you can learn to design websites that work EVEN in IE6, then you will have become a much better designer.

Good web designers don’t care what their clients are going to use to look at their website, it’s just going to work.

Here are a few things I’ve learned in my struggle to tame the IE6 beast … Keep in mind, these are things I’ve learned through trial and error. And no rocket science here, just some simple rules to follow.

First, I always use pixels in sizing, never ‘em’s. Maybe this is something you never did, but I used to use tons of ‘em’s in my themes for spacing elements, with margins and padding. But somehow, ‘em’s aren’t correctly treated in older versions of IE. So I started using nothing but pixels for spacing, and got better results.

Second, I rely more on padding than on margins. Older IE versions tend to treat margins differently than other major browsers. So if there was an element that I could use either padding or margins, with the same effect, I would use the padding rather than the margin.

Third, wherever possible, I turn my .png files into .jpg files. I like to use transparency as much as anyone. But all too often I would be showing a cool new theme or website to a friend, on their computer, and the .png files would get a grey or pink background that totally messed up the look I was going for. So, if at all possible, I use .jpg files. Also, I don’t use transparent .css borders or font. IE6 doesn’t know what transparent means with anything at all!

Fourth, I don’t get crazy with creating graphical submit buttons or fields. IE has standard ones that they overlay onto the ones you create. So better to keep your submit buttons simple, either the default or some simple .css.

And my last tip is to test, test, test. Especially when trying a new technique and spending hours making it look perfect … in your favorite browser. There’s nothing more frustrating than getting it perfect and then finding out that in other major browsers (IE6 is not that major anymore but you get the point) it completely falls apart. Better to stick with simpler techniques that you can get to look good in all browsers.

Get an awesome web host!
Unlimited Domain Hosting Only $9.95 a Month

About the Author

Tim Norton started designing websites in his free time in 2005 and it soon became a major source of income for his family. He taught himself coding, graphics, and whatever else relates to designing great websites. He is the creator of the MotherTheme WordPress theme.

Like This? Please share it now!

  • Nice post! All of your 5 points makes a lot of sense.

    With regards to IE6 becoming obsolete, it would take a lot of time till we stop considering IE6 especially if your building consumer facing portals
  • True, we need to think that way when building websites for clients, for sure. I'm not comfortable telling someone not to pay attention to 12% of their visitors :)
  • Thanks for the post Tim! This is all very useful information. I also really appreciate Alex’s’ response, I will most definitely be attaching separate IE style sheets from now on - especially when it comes to the margin issue!

    As for IE6 becoming obsolete - not so sure I would but all my eggs in that basket just yet, its always better safe than sorry. I guess having designed web sites for over 12 years has made me leery...
  • Good advice! You can also attach a separate stylesheet to override pesky CSS bugs only for IE6 or IE7. It's just a bit of javascript that calls it from the HEAD of the document:

    <img src="http://webdesignersedge.com/wp-content/uploads/pics/ScreenShot056.png" alt="IE6 javascript">



    Also, one thing that has helped us before beginning a contract is to ask clients the particulars on which browsers they want to support and document this in the agreement.

    Unfortunately 40% of medium/large corporations are tied to IE6 because of security implications, patches or IT departments that are swamped and have not rolled out upgrades, so for larger clients unfortunately IE6 is often a must-have. My advice is if it's going to take you 25% more time to fix issues for an obsolete browser, account for this up front and make it worth your while.</img>
  • That's excellent advice, something a lot of designers could really take advantage of. And in fact IE6 is quickly becoming obsolete, i doubt we'll have to pay attention for too much longer ...
  • Dont give up on PNG's, this method is pretty handy, and its not that painfull as it does mean you end up with a lower page weight.

    http://www.sitepoint.com/blogs/2008/03/20/makin...

    i use paint.net of Fireworks to cook these babys, Photoshop wont work.
  • Actually there is also a javascript fix that 'helps' IE6 see transparency as well. But keeping it simple. Thanks for the resource!
  • Since IE6 usage is down to under 15% of the Web users world wide, I don't consider it a factor unless a particular site warrants it. You should take into account the nature of the site you're building and it's viewers. If you're building a site for a company whose clientele are mostly viewing the site from home and are likely to have older computers, IE6 will be important to consider. On the other hand, if they are a tech company whose clientele are other tech companies, it's unlikely that the site will see much, if any, traffic from IE6 users.

    Another solution is Andy Clark's universal IE6 CSS solution, described here: http://forabeautifulweb.com/blog/about/universa...

    He's even added his universal ie6 css to Google Code, so you can just target that instead of creating your own.
  • Kris Handley
    Or you could redirect anyone using IE6 to mozilla.org :) - problem solved.
  • Believe me Kris, I'm with you. That was a temptation for me for a long time!