Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am using ASP.NET 3.5.

For some reason when I apply CSS to my controls on my plain form it shows in Visual Studio and it does work fine.

But for some reason when I make my site LIVE none of the styles are working.

Can this be a server issue? Some setting that must be changed?

When I put the full URL in of the CSS like below the CSS does not even comes up.

http://www.example.com/CSS/global.css

share|improve this question
    
When I put the full URL in of the CSS like below the CSS does not even comes up. so what happens instead? Do you get an error in the browser? What do the logs on the IIS server show? –  RobM Sep 11 '11 at 7:18
add comment

1 Answer

Make sure your html site actually references the correct CSS file...

  <link rel="stylesheet" title="Default" href="css/global.css">

You should also try renaming it to "default.css"

share|improve this answer
    
Well my reference to the CSS does work on another domain in the Application Pool, something tells me that there is a problem in my current site settings in IIS, I just don't know what it can be... –  Etienne Sep 7 '11 at 12:56
    
Okay, I'm not sure exactly what to tell you now, sorry. –  U4iK_HaZe Sep 7 '11 at 19:15
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.