The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> CSS file not being read
ambitw
post Feb 7 2012, 05:23 AM
Post #1





Group: Members
Posts: 1
Joined: 7-February 12
Member No.: 16,420



Hi,

I have a few websites using PHP & CSS and they all hosted the same way.


My problem:

Some websites' webpages can't seem to read the css files and display formatting:

Smophones.com

C2E.com


Using Firefox, you can view the page source, and click the /css/main.css link to show the css file. So we know the css file exists.


Any ideas?


Thanks,
Andy

PS Some websites work

Yet, I have other websites hosted on the same server in the same way that are fine:

Dershr

BAT II
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Feb 7 2012, 11:42 AM
Post #2


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



http://www.smophones.com/css/main.css?1.0.2 returns
Content-Type: text/html

http://dershr.com/css/main.css?1.0.2 returns
Content-Type: text/css; charset: UTF-8
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th April 2024 - 08:10 PM