3

Conditional Comments

Posted August 15th, 2007 in Archive and tagged by Darfuria

A nice bit of CSS knowledge for Internet Explorer

http://www.webdevout.net/css-hacks

3 Responses so far.

  1. Craig says:

    If you do things properly, you’ll never need conditional comments or anything like that. There’s always some kind of legitimate fix to have one style sheet for every browser. I’ve never encountered any problems that haven’t been fixable in some proper way.

    Then again, if you’re designing as far back as IE4 and 5 you would probably need them. I draw the line going back that far.

    How far do you tend to go in the name of cross-browser compatibility?

    Interesting related post for you to read: http://www.webdesignerwall.com/general/trash-all-ie-hacks/

  2. Darfuria says:

    Yeah, usually that is the case. And recently I have learnt more about how CSS should work with divs inside divs, etc. However, I was in a situation today where Firefox and IE6 were displaying the website fine, but there were errors in IE7. The layout of the website was slightly complicated, and I needed a quick fix.

    When I’m at work I’ll usually make websites work in IE6 first, then extend to IE7 and Firefox. And then hope that Netscape and Opera are working too, and make some minor adjustments if not. When doing it personally I’ll just look at IE6 and Firefox.

    Thanks for the link to the blog. I see that person’s point, however, when you’re designing a website for a client, they won’t see it like that. Also, thanks for linking to me because it’s insanely pretty, and makes me want to redesign this.

  3. Craig says:

    No problem. There’s a couple of tutorials on there too that explain how he made that downright gorgeous background.

Leave a Reply