By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,879 Members | 1,859 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,879 IT Pros & Developers. It's quick & easy.

FireFox CSS problem...

P: 3
Hi all -

I have a web site that I just finished developing. During development, I had the website in a folder on my local computer with a sub-folder(css) for storing CSS files.

I tested the site using both IE and FireFox and it displayed perfectly in both.

My problem is that once I move it to my web server, IE still displays it just fine, but FireFox acts as though the CSS files don't exist. The content appears, but with the CSS files being applied.

I even changed my references to the CSS files to be explicit paths instead of relative paths. Still IE is fine and FireFox doesn't seem to find the CSS files.

I'm a little confused since it all worked fine when the site was on my local computer.

Any ideas?
Mar 7 '07 #1
Share this Question
Share on Google+
5 Replies


P: 3
FYI, the website can be viewed at http://www.sbcne.com/new

Hi all -

I have a web site that I just finished developing. During development, I had the website in a folder on my local computer with a sub-folder(css) for storing CSS files.

I tested the site using both IE and FireFox and it displayed perfectly in both.

My problem is that once I move it to my web server, IE still displays it just fine, but FireFox acts as though the CSS files don't exist. The content appears, but with the CSS files being applied.

I even changed my references to the CSS files to be explicit paths instead of relative paths. Still IE is fine and FireFox doesn't seem to find the CSS files.

I'm a little confused since it all worked fine when the site was on my local computer.

Any ideas?
Mar 7 '07 #2

Expert 100+
P: 1,892
Hi all -

I have a web site that I just finished developing. During development, I had the website in a folder on my local computer with a sub-folder(css) for storing CSS files.

I tested the site using both IE and FireFox and it displayed perfectly in both.

My problem is that once I move it to my web server, IE still displays it just fine, but FireFox acts as though the CSS files don't exist. The content appears, but with the CSS files being applied.

I even changed my references to the CSS files to be explicit paths instead of relative paths. Still IE is fine and FireFox doesn't seem to find the CSS files.

I'm a little confused since it all worked fine when the site was on my local computer.

Any ideas?
You're missing the opening <html> tag, IE is somewhat forgiving.
Mar 7 '07 #3

P: 3
You're missing the opening <html> tag, IE is somewhat forgiving.

Thanks AricC. I just added the opening <html> tag and it did not solve my problem.

I posted this same message to another forum and got a reply which suggested that the web server was misconfigured. The replier stated that the "actual MIME type of the css file" was being sent as "application/octet-stream" instead of "text/css".

Can you point me in a direction for fixing this on the web server? I am assuming that somehow I need to add "text/css" as a MIME type to my web server configuration somewhere. Am I wrong?
Mar 8 '07 #4

P: 74
have you validated your code?

cheer
phileep
Mar 8 '07 #5

Expert 100+
P: 1,892
have you validated your code?

cheer
phileep
Yes, his code is valid. Are you running the site yourself or is it hosted somewhere?
Mar 8 '07 #6

Post your reply

Sign in to post your reply or Sign up for a free account.