Forum Moderators: open

Message Too Old, No Replies

Site not right in IE5 or IE6

         

pb4123

6:40 pm on Nov 6, 2009 (gmt 0)

10+ Year Member



My site is not showing right in IE5 or IE6.

Can anyone let me know why and is there anything I can do about it?

Thanks

[edited by: phranque at 8:58 pm (utc) on Nov. 7, 2009]
[edit reason] No urls, please. See TOS [webmasterworld.com] [/edit]

phranque

9:05 pm on Nov 7, 2009 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



welcome to WebmasterWorld [webmasterworld.com], pb4123!

ie5 & ie6 are known far and wide to have issues with standards compliance.
do you have a document type declaration?
is all of your html and css validated?

what percentage of your visitors are using IE5?

StoutFiles

9:44 pm on Nov 7, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Your best option is to have an alternate css file for IE6 and below. Use a conditional comment to check the browser.

jbinbpt

10:56 pm on Nov 7, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



what percentage of your visitors are using IE5?

People that are stuck with IE5 or IE6 for whatever reason, know that sites look malformed. They are used to it. Make sure you have enough IE5/6 traffic to warrant making changes.

phranque

8:08 am on Nov 8, 2009 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



i'm definitely not a css expert but it might help if you start with something like this to help get things on equal footing among the browsers:
body * {
padding: 0;
margin: 0;
}

(at least that's what i practice...)

pb4123

9:51 am on Nov 9, 2009 (gmt 0)

10+ Year Member



Thanks everyone for your replies :)

I have checked the validation etc and it seems fine?

Also tried the Body padding and that didn't solve it.

We have enough people visiting using 6 to want to sort it out.

Any other ideas?

If I know what CSS would work for IE6 then I would be happy to do a second style sheet.

Thanks

tedster

4:26 am on Nov 11, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



tried the Body padding and that didn't solve it.

Did you try not just "body" but "body *"? That should set every child of the body element to zero padding.

You also may find some help from IE Conditional Comments [webmasterworld.com] - they were created for this kind of situation.

pb4123

5:25 pm on Nov 11, 2009 (gmt 0)

10+ Year Member



Oh...no I just did body..Whats body * ? What do I add and where?

Thanks.

Thanks for the link, will have a look.

xclamationdesign

4:49 pm on Nov 12, 2009 (gmt 0)

10+ Year Member



Put it in your stylesheet but make sure it replaces any other body reference in your stylesheet and make sure you keep the asterisk (*).

eg.

body * {padding: 0;
margin: 0;}

pb4123

5:55 pm on Nov 12, 2009 (gmt 0)

10+ Year Member



Thanks for letting me know.

Unfortunately this still didn't solve it :(

Fotiman

6:02 pm on Nov 12, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Can you provide more details? What sort of problems are you seeing? Can you include (as little as possible) code that might replicate the issue?