Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 258127
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T22:09:17+00:00 2026-05-11T22:09:17+00:00

I use IIS web server 7.5 on Windows 7 for hosting my project. I

  • 0

I use IIS web server 7.5 on Windows 7 for hosting my project. I try to create Javascript & CSS handler that can optimize and compress both Javascript & Css file size. But I found some problem. Please look at the following request & response of Test.css file which I found at Firebug on Firefox 3.0.11 browser.

Response Headers

Cache-Control : private
Content-Type : text/html
Content-Encoding : gzip
Server : Microsoft-IIS/7.5
X-AspNet-Version : 2.0.50727
X-Powered-By : ASP.NET
Date : Tue, 30 Jun 2009 10:46:15 GMT
Content-Length : 197

Request Headers

Host : localhost
User-Agent : Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11 (.NET CLR
 4.0.20506)
Accept : text/css,*/*;q=0.1
Accept-Language : en-us,en;q=0.5
Accept-Encoding : gzip,deflate
Accept-Charset : ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive : 300
Connection : keep-alive
If-Modified-Since : Tue, 30 Jun 2009 10:41:00 GMT
If-None-Match : "1C9F96F41F48600"
Cache-Control : max-age=0

Moreover, I opened response tab of test.css file and I found that CSS file is loaded successfully. I try to open the same page in other browser like Chrome 3, Safari 4.0, Opera 10.0. But all browser can’t display a correct web page except IE 8. Why?

body{margin:0;padding:0;background:#f7f7f7 url(Photoes/bg.jpg) no-repeat center top;}

PS. I try to disable compressor and all browser can display correctly.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T22:09:17+00:00Added an answer on May 11, 2026 at 10:09 pm

    Your response header is incorret:

    Content-Type : text/html
    

    Should be

    Content-Type : text/css
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In IIS 6, I can use the Web Service Extensions folder in Inetmgr to
I use C#, IIS, ASP.NET, SQL Server. Is there a third-party platform I can
What install tool can I use to create Virtual Directory on IIS? OpenSource, free
Since, for various reasons, I can't use IIS for an ASP.NET website I'm developing,
I've a ASP.NET MVC 2 project that runs fine under Windows 7 and will
I usually use IIS in conjunction with the OutSystems development platform, which does code-generation
We use BigIP to load balance between our two IIS servers. We recently deployed
We use a data acquisition card to take readings from a device that increases
'''use Jython''' import shutil print dir(shutil) There is no, shutil.move, how does one move
Use case: A does something on his box and gots stuck. He asks B

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.