General Question

mirza's avatar

Why does my CSS look so messed up in IE6?

Asked by mirza (5057points) August 18th, 2007

it works perfectly in firefox, opera, netscape safari and even Internet explorer 7.

Observing members: 0 Composing members: 0

5 Answers

glial's avatar

IE 6 has a different box model than other A-Grade browsers. Hacks and use of different positioning can help you get around this.

Google CSS IE6 hacks.

Perchik's avatar

Because it's IE

segdeha's avatar

Hard to say without seeing it. But, you're taking the right approach by developing for standards-compliant browsers first, then tweaking for IE. My preferred way of applying IE-only styles is to use conditional comments and apply an IE-specific stylesheet to tweak the necessary styles.

Evan's avatar

Mirza i was having the exact same problem a few weeks ago, and after searching TONS of shites, and posting here.. i think you're best bet is to go with seg's suggestion.. use conditional comments. the only thing you could try is one of the so-called "holy hacks" but depending on what you're doing.. those often don't work for IE7.. so you could still be SOL..

some of the fixes though depend on what you're doing.. some awesome sites that i've found have been:

csscreator.com
www.positioniseverything.net
www.alistapart.com

first one is a forum, and your pages will have to be standards compliant for them to really help you.. but maybe you're already there.. :) and either way they have good info. the other two are big name css sites.. good luck! and IE blows!

zacko's avatar
I second the 'IE blows'! Damn you Microsoft *shaking fist in the air*!

Answer this question

Login

or

Join

to answer.

This question is in the General Section. Responses must be helpful and on-topic.

Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
or
Knowledge Networking @ Fluther