1

A few years ago, I built a "front page" for my site, using CSS to implement a flexible column system (instead of fixed width). Works fine under IIS 7, but when I upgraded my web server to 2008 R2, the page content displays but no CSS activity is evident.

I brought in a couple pages from a simpler site that works in a different folder, and that works fine, proving that CSS can behave just fine.

I have compared the two pages, and the only differences are in the accompanying CSS code.

2 Answers 2

2

Since css is rendered by the browser my guess is that you have some sort of permissions issue. Are you able to download the css file directly using a link for the source of the page?

So for instance, if in your page you have the following in the html source:

<link rel="stylesheet" href="http://sstatic.net/sf/all.css"> 

Are you able to go to http://sstatic.net/sf/all.css directly from the browser?

1
  • Yes, it was a permissions issue. The original files were on one server that had lost its domain. When copied over to the new server (with a new domain), sufficient retention of permissions by non-existent accounts caused all sorts of difficulties. By changing permissions to current accounts, I eventually got the right ones in place. Thanks! Jul 10, 2010 at 12:38
0

Use a HTTP debugging tool for your browser to check all the requests and if there is one failing (the one that shout fetch the CSS).

I recommend the free tool "Fiddler."

1
  • Good suggestion, and had the problem continued, I would have pursued this. I had invoked Fiddler from a client machine somewhere, but knew too little about it to gain much. Jul 10, 2010 at 12:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .