Hello. I am having a similar problem. Netscape and IE are rendering my index.php with css, but Firefox, for some reason is not. I have used the Web Developer tool for Firefox, on my CSS file and It is telling me that the type is infact text/css and the encoding is utf-16 (although I set it to utf-8)
I have validated my HTML as 4.01 Transitional, and have validated my CSS. I get about 10 warnings, but only for netscape 4.0 which doesn't recognize the Height attribute.
I am beginning to believe it is a server problem, but I am not sure how. This page will not load CSS or PHP yet other sites on teh server will.
the link for this page is
http://bpa.tisd.k12.mi.us/Link-up (no
www.)
the style is external and located at link-up/main.css
Here is my code
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>
Link-Up :: Home >> Where people link up!
</title>
<meta name="keywords" content="friends networking sharing photos finding friends blogs journals blogging journaling bands music rate pics join groups forums online social">
<meta http-equiv="expires" content="0">
<meta name="description" content="Link-Up. Where people in your area can link up and make friends, chat, and cruise the forums.">
<link rel="stylesheet" type="text/css" href="main.css">
</head>
<body>
<center>
<table border="0px" cellspacing="0px">
<tr>
<td class="head" colspan="2" valign="bottom">
<span class="lf">Link-Up</span><div id="loginmain">Login | Register</div>
</td>
</tr>
<tr>
<td class="topnav" colspan="2">
<a class="top" href="index.php">Home</a> | Login | Link | Link | Link | Link | Link | Link | Link | Link | Link
</td>
</tr>
</table>
<table border="0px" cellspacing="0px">
<tr>
<td class="leftnav" valign="top">
<h4>Navigation</h4><br>
<a href="index.php">| Home |</a><br>
| Link |<br>
| Link |<br>
| Link |<br>
| Link |<br>
| Link |<br>
| Link |<br>
| Link |<br>
| Link |<br>
</td>
<td class="main" valign="top" rowspan="2">
This is body text in here
</td>
</tr>
<tr>
<td class="leftnav2" valign="top">
<h4>Top Rated</h4>
</td>
</tr>
</table>
</center>
</body>
</html>
Now here is the CSS code
body {
background: #000000;
color: #0066FF;
}
a:link {
color: #0099FF;
text-decoration: none;
}
a:visited {
color: #0066FF;
text-decoration: none;
}
a:hover {
background-color: #0099FF;
color: #000033;
text-decoration: none;
}
a:active {
color: #0099FF;
text-decoration: underline;
}
a.top:link {
color: #0099FF;
text-decoration: underline;
}
a.top:visited {
color: #0066FF;
text-decoration: underline;
}
a.top:hover {
background-color: #0099FF;
color: #000066;
text-decoration: underline;
}
a.top:active {
color: #0099FF;
text-decoration: underline;
}
.head {
background: #000033;
height: 50px;
width: 900px;
padding: 5px;
}
.topnav {
background: #000066;
height: 15px;
width: 900px;
font-size: 12px;
text-align: center;
word-spacing: 5px;
}
.leftnav {
background: #000033;
width: 100px;
height: 225px;
text-align: center;
padding: 20px;
}
.lf {
font-size: 200%;
font-variant: small-caps;
text-align: center;
font-weight: bold;
}
.leftnav2 {
background: #000033;
width: 100px;
height: 300px;
text-align: center;
padding: 20px;
}
.main {
text-align: left;
background: #000000;
width: 730px;
height: 600px;
padding: 20px;
}
#loginmain {
text-align: right;
}
Any help, whether telling me that the server is being dumb, or that I am being stupid, or that its a little mistake, would be appreciated
Thanks guys.