problem with Explorer 6??
I am using a stylesheet on one of my new web pages. It workds beautifully so far in every browser, netscape or IE version 4 and above.. except for Explorer 6. The font looks completely different in IE 6 and even breaks up my page where I had not noticed on every other browser... is there anything I should know about this?
mairving posted this at 15:17 — 3rd December 2001.
They have: 2,256 posts
Joined: Feb 2001
Can you send us a link to the page? It will help to figure out the problem.
fistfullofdust posted this at 15:37 — 3rd December 2001.
They have: 6 posts
Joined: Dec 2001
aceesolutions.com/accuratedistribution
thats the url of the site that is giving me trouble.. only because the page relies on the style of the text to keep it together.. if i have to i will rethink the design and re-code it, but if there is a way around this it would make my life a whole lot easier. if you compare this page in explorer 6 to any other netscape or IE browser, you will see the problem.
the stylesheet issue also causes font problems on some of my other sites but doesn't make a big difference as far as the layout goes.
fistfullofdust posted this at 16:18 — 3rd December 2001.
They have: 6 posts
Joined: Dec 2001
its an extremely simple stylesheet.. which is what is disturbing me the most..
.bodytext{
color : #9999FF;
font-family : arial;
font-size : 12px;
}
Wil posted this at 16:34 — 3rd December 2001.
They have: 601 posts
Joined: Nov 2001
What's your problem? Looks fine in IE6, Mozilla .9.6.
Wil posted this at 16:35 — 3rd December 2001.
They have: 601 posts
Joined: Nov 2001
Post a screen-grab of a faulty page and a correct version.
fistfullofdust posted this at 17:03 — 3rd December 2001.
They have: 6 posts
Joined: Dec 2001
SCREEN SHOT of IE6
SCREEN SHOT of IE5
fistfullofdust posted this at 17:05 — 3rd December 2001.
They have: 6 posts
Joined: Dec 2001
screen shot of IE5- this is how it should look
mairving posted this at 18:37 — 3rd December 2001.
They have: 2,256 posts
Joined: Feb 2001
I don't have IE 6 but in IE 5.5, NS 4.78 and Opera 5.12, it displays fine.
Cache problem or a problem with IE 6 on that particular machine maybe?
taff posted this at 18:56 — 3rd December 2001.
They have: 956 posts
Joined: Jun 2001
Viewing fine in IE6 here
Wil posted this at 19:13 — 3rd December 2001.
They have: 601 posts
Joined: Nov 2001
OK. I get you. You don't want the text to be padded out as much as it does in IE6?
Um. Just downloaded your style sheet, and you've actually got this in there now:
.bodytext {
font-size : 12px;
font-family : Arial;
color : #703A38;
font-weight: bold;
font-family: sans-serif;
}
Can you see where you're going wrong? I'm sure defining the font-family twice is confusing poor old IE6.
Try this instead...
.bodytext { text-decoration: none;
color: #703A38;
font-weight: bold;
font-family: "Arial, Helvetica";
font-size: 12px;
}
Hope that helps. I haven't tried it, but it should make more sense.
Clear your browsers cache after making the changes. Although, if IE6 follows it's tech specs correctly it should never cache external style sheets. But I wouldn't trust MS on that one
Cheers
- wil
fistfullofdust posted this at 19:21 — 3rd December 2001.
They have: 6 posts
Joined: Dec 2001
thanks alot for the help.. I have never had a problem with defining the font family twice but i guess they are getting more strict with that stuff now. I found out that it looks fine on some pcs running IE6 while others it gets all messed up.. I still havn't figured this one out.
thanks again
Wil posted this at 19:46 — 3rd December 2001.
They have: 601 posts
Joined: Nov 2001
So, did it work? I'm running Mozilla on my linux box at home so I can't tell you how your changes take effect until I'm in the office (back on the dreaded MS machine ) tomorrow.
- wil
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.