|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
this problem has been bothering me for quite a while:
I kept all the fonts and border attributes in a separate file named gtext.css and put it in my "incl" folder. e.g. http://www.mydomain.com/incl/text.css I have a php page, which I called hello.php, is put under the root. e.g. http://www.mydomain.com/hello.php In hello.php, I linked the css file using the following code.. <HEAD> .... <link href="incl/gtext.css" rel="stylesheet" type="text/css"> ..... </HEAD> the world's perfect; I checked the hello.php with IE 6.0 and Netscape 7.1; both browsers displayed the page correctly. the problem is; I was looking at the web statistics, and an alarming number of error hits (http code 404) keeps growing. Here is the no.1 ranked error hits: URL (/gstyle.css); Number of error hits (179); Referer(http://www.mydomain.com/hello.php) Of the top 10 ranking in error hits, 7 or 8 of them points at my gtext.css file. Does it have anything to do with the lack of support from the old browers? Or do I link the file incorrectly? If so, how come I can view hello.php without any problem? Thanks in advance! |
|
#2
|
|||
|
|||
|
please ignore the possible naming errors: I found out that I have text.css instead of gtext.css at the top.
This is not the root of the problem; it's just my typo (sorry)! |
|
#3
|
||||
|
||||
|
Quote:
__________________
Cheers, Jamie # skiFFie | Home of the 'accessibility module' for Drupal # Jamie Burns [me] Accessibility Module [drupal] # guidelines | search | wap resources | not getting help | fold to cure # Any form of employment is strictly prohibited ...... __________________ Let the might of your compassion arise to bring a quick end to the flowing stream of the blood and tears ..... Please hear my anguished words of truth. __________________ |
|
#4
|
|||
|
|||
|
yep it is (i'm really sorry about it)
the strange thing is, I can view hello.php perfectly (which means naming file part should not be a problem), and yet the error hits keep mounting....eerrrrr!! |
|
#5
|
||||
|
||||
|
I get a 404 for both pages you listed...
|
|
#6
|
||||
|
||||
|
@arden,
i think mydomain.com is just a generic domain used as an example, and not his actuall domain ![]() |
|
#7
|
||||
|
||||
|
...Duh. Didn't even notice that.
![]() |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > http code 404 for css file |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|