I'm crazy

Source: Internet
Author: User
I'm crazy. can you help me see what's going on with this webpage?
www.woi029.com

In this test, all browsers can be accessed normally, but Firefox, IE9, and Google browsers cannot load styles after being uploaded to the server. what is the problem? I hope you can help me, thank you. please wait online.


Reply to discussion (solution)

The css file should be faulty. clear the content of the css file.

Timestamp: 11:29:47
Error: style form http://www.woi029.com/style/best.css is not loaded because its MIME type "text/plain" is not "text/css ".
Source File: http://www.woi029.com/
Row: 0


Change header

Or delete the header declaration.

No error found. The display is normal.

On the 4th floor, let me delete the header. after the header is deleted, the homepage is still displayed normally. However, if you go to the inner page, you can see the source code of the webpage. I don't know why. let's take a look. Www.woi029.com/index.html, this is the web page behind my static state.

Content-Type: text/plain in the http header
Text/plain is a non-formatted body, of course it will not be parsed

Content-Type: text/plain in the http header
Text/plain is a non-formatted body, of course it will not be parsed
This is because I have read a friend from the upstairs and replied to me for testing. if it still doesn't work, I changed it to Content-Type: type = "text/css". The result is still incorrect.

Which file has the BOM header?

The returned header is

HTTP/1.1 200 OK
Date: Wed, 13 Mar 2013 05:35:44 GMT
Server: Apache/2.0.63 (Win32) PHP/5.2.14
Last-Modified: Wed, 13 Mar 2013 05:31:19 GMT
ETag: "10bd4-797b-b73b2cfd"
Accept-Ranges: bytes
Content-Length: 31099
Content-Type: text/plain

This header attribute is not HTML-level. only the header function in php can generate

Find the BOM header.

The returned header is

HTTP/1.1 200 OK
Date: Wed, 13 Mar 2013 05:35:44 GMT
Server: Apache/2.0.63 (Win32) PHP/5.2.14
Last-Modified: Wed, 13 Mar 2013 05:31:19 GMT
ETag: "10bd4-797b-b73b2cfd"
Accept-Ranges: bytes ......
On the 7th floor, how can this problem be solved? please.

The returned header is

HTTP/1.1 200 OK
Date: Wed, 13 Mar 2013 05:35:44 GMT
Server: Apache/2.0.63 (Win32) PHP/5.2.14
Last-Modified: Wed, 13 Mar 2013 05:31:19 GMT
ETag: "10bd4-797b-b73b2cfd"
Accept-Ranges: bytes ......
On the 10th floor, how can this problem be solved?

There are enough prompts. you didn't provide the source code. how do I know?

Does not rule out that your server does not recognize the html type





Unicom Internet TV _ Xi'an Unicom WO Jiayuan community




Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.