View Full Version : Not working in IE


weesneak
08-19-2006, 11:18 AM
So my site dosent work in IE, firefox only. I dont mind this one bit (we shud all be using IE alternatives by now) but i hear you can fix it by adjusting the css file. If so, what is it that needs to be changed?

J to the izzosh
08-19-2006, 11:26 AM
It would be difficult to say without actually seeing the CSS file and the problems with the site. Post a link if you have one, please, or, at least, your source.

EhraniNavy
08-19-2006, 12:27 PM
Try running it through: http://validator.w3.org

If your page is valid XHTML or valid CSS then it should work in both browsers correctly. If there are still IE problems, and you happen to find the IE fix, then you can use comment code


<style>
a:link {
}
</style>
<![if IE]-->
<style>
a:link {
}
</style>
<--[endif]>
<style>

weesneak
08-19-2006, 12:43 PM
Well im not the greatest with HTML. But im trying, heres my css file.

a:link { color: #000000; text-decoration: none; font-size: 11px; font-family: Verdana; }
a:active { color: #000000; text-decoration: none; font-family: Verdana; font-size: 11px; }
a:visited { color: #000000; text-decoration: none; font-family: Verdana; font-size: 11px; }
a:hover { color: #000000; text-decoration: none; font-family: Verdana; font-size: 11px }
a.nav:link { color: #000000; text-decoration: none; font-family: Verdana; font-size: 11px; }
a.nav:active { color: #000000; text-decoration: none; font-size: 11px; font-family: Verdana; }
a.nav:visited { color: #000000; text-decoration: none; font-size: 11px; font-family: Verdana; }
a.nav:hover { color: #000000; text-decoration: none; font-family: Verdana; font-size: 11px; }
a.bod:link { color: #000000; text-decoration: none; font-family: Verdana; font-size: 11px; }
a.bod:active { color: #000000; text-decoration: none; font-family: Verdana; font-size: 11px; }
a.bod:visited { color: #000000; text-decoration: none; font-family: Verdana; font-size: 11px; }
a.bod:hover { color: #000000; text-decoration: none; font-family: Verdana; font-size: 11px; }
body {
scrollbar-3dlight-color:#666666;
scrollbar-arrow-color:#000000;
scrollbar-base-color:#000000;
scrollbar-darkshadow-color:000000;
scrollbar-face-color:#999999;
scrollbar-highlight-color:#999999;
scrollbar-shadow-color:#999999;
}


ul, li, p, td {
color: #000000;
font-family: Verdana;
font size=11;
}

.gamename {
color: #FF8540;
font-family: Arial, Tahoma, Verdana, Helvetica, sans-serif;
font-size: 11px;
font-weight: bold;
}

.navlinks {
color: #000000;
font-family: Arial, Tahoma, Verdana, Helvetica, sans-serif;
font-size: 11px;
}

.11px {
color: #000000;
font-family: Arial, Tahoma, Verdana, Helvetica, sans-serif;
font-size: 11px;
}

EhraniNavy
08-19-2006, 07:20 PM
What exactly is the problem?

(Also, instead of a.nav:link, try a:link.nav - that is what I do and I'm not sure whether that is correct or not but it seems to work)

izzy_person
08-19-2006, 07:38 PM
mabey it's because of the multiple fonts you put in. it could be confusing the browser. I'm no expert but it's just a thought.

weesneak
08-19-2006, 09:10 PM
Its still not working. This would be a major bummer because i put a hella lotta work into this site, and now imgonna lose half the hits.

angelic.deception
08-20-2006, 01:12 AM
If you post your HTML as well, I'd be happy to have a look at it in IE and have a go at fixing it. =) Or a link to your site would be fine, also.

J to the izzosh
08-20-2006, 12:58 PM
Well, other than the scrollbar colours (they are proprietary properties, unique to IE, and not valid CSS), a missing hash symbol (#) in front of a hex colour code or two, and forgetting to use font-size here...
ul, li, p, td {
color: #000000;
font-family: Verdana;
font size=11;
}
...your CSS is fine. The problem likely lies within your HTML document. A link to your site would be helpful, as angelic.deception requested. Also, you haven't actually describe the problem yet; doing so, might give us a better idea of what to look for.