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

link|improve this question

40% accept rate
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? – DJ Pon3 Sep 11 '11 at 7:18
feedback

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"

link|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
feedback

Your Answer

 
or
required, but never shown

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