473,320 Members | 2,161 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

What are reasons that a webserver might not load my CSS for my web page?

Hello. Over the past few years I have been teaching myself to write/code web pages from scratch. The code I've written (last I checked) passes all of the W3C's validators, including the one for CSS. Locally, the site displays itself flawlessly.

Upon loading the web site to two separate servers (In case there was some problem on the first), I found that everything loads expected except for the CSS... Which constitutes for about 80% of the site's design.

The site is coded in XHTML/CSS2. The CSS (as well as javascript) are loaded from directories that are present in the directory containing index.html and the other main pages. I have checked the charset/encodings, all metadata, pretty much everything. I'm not sure what I'm missing.

Also, the servers are unix-based. I've tried re-encoding files to UTF-8, but nothing has changed. Several complete clearing/re-upload attempts have been made against the advent of a corrupted file.

Do any of you have a clue what is going on here? I may be able to code HTML, but this is my first time trying to get it online.
Nov 5 '10 #1
4 3019
Dormilich
8,658 Expert Mod 8TB
several reasons I can think of
- file not uploaded
- file corrupted (though improbable)
- filename doesn’t match (UNIX is usually case-sensitive)
- access denied
- syntax error in file (just to mention it)
- file in wrong directory/server
- old file version cached

PS. I doubt you’re using XHTML
Nov 5 '10 #2
drhowarddrfine
7,435 Expert 4TB
Firebug on Firefox will tell you exactly what the browser is trying to fetch and what the server is trying to send or not. With a link, we can tell what's happening.
Nov 5 '10 #3
To Dormilich:
Thank you! It was the Unix/Case-sensitive detail. I was completely ignorant of that fact and it made all the difference.

To drhowarddrfine:
I have seen that tool mention in a couple of places. I will definitely try it out.


Thanks to both of you!^^
Nov 5 '10 #4
numberwhun
3,509 Expert Mod 2GB
May I throw one more suggestion in here?

If you are going to ask why your code isn't working, its always a good idea to post the code so that those people trying to help you can examine it and possibly give suggestions.

Regards,

Jeff
Nov 6 '10 #5

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

Similar topics

1
by: CST | last post by:
Hi All, I have a "Digital Dashboard" that basically has 4 IFrame sections. The page flows in the following order: Messages, Stocks, Weather, User Links. Please note that this order needs to...
3
by: Francois | last post by:
Is it possible to automatically create an array on load page? I want my script to be external. (<script language="JavaScript" src="somescript.js"></script>) Several pages should use this...
1
by: Bob Jenkins | last post by:
Its not neccessary to return a pointer in a method/function, right ? But for what reasons/under what circumstances do we have to do that ? Thanks
3
by: Paul | last post by:
HI! how do we load a page from the menu into an iframe when you are not on the iframe page? I want to be able to load pages (options in my menu ) into a iframe no matter if I am on the iframe...
3
by: Shapper | last post by:
Hello, I am working on an ASP.NET/VB web site. I have several links including menu links. Considerer a want to load a page named page.aspx. I can do it using javascript. Or using this code:...
5
by: Tony Girgenti | last post by:
Hello. I'm trying to develop a web comsuming client using VS.NET 2003(VB), .NET Framework 1.1.4322, ASP.NET 1.1.4322, WSE2.0 on a WinXP Pro Sp2 comuter. If i comsume this web service:...
1
by: michael jeter | last post by:
What reasons would you give if you were advising someone to study business ?
7
by: Jonathan Wood | last post by:
My site requires all users to log on. Depending on the user's role, they will have access to a certain set of pages. I implemented this by redirecting the user to the appropriate home page in...
11
by: tdmailbox | last post by:
I have a website that I subscribe to that allows me to track tasks. I have an extra computer with a big monitor that i want to always display the task list. the problem is after so many hours I...
5
by: George2 | last post by:
Hello everyone, I can understand hard page fault is we need to load from page file into working set (RAM). But what is a soft page fault? I am confused. thanks in advance, George
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.