views:

378

answers:

3

Hi

I'm not a web developer, so what seems weird to me is hopefully an easy one.

Have an existing ASP.NET web site which I need to modify, using VS 2008. I worked on an aspx page and somehow the CSS settings changed and messed the page up badly. I restored the old CSS files and now the page is fine again in the IDE but still a mess when I run the project.

Any ideas would be much appreciated

Steven Segal

+3  A: 

Have you tried clearing your browser's cache?

Brian Sullivan
This is probably it. You can try hitting Ctrl-F5 in your browser too to force a hard refresh
John Sheehan
A: 

Could it be, that website needs authentication (i.e. FormsAuthentication) ?

If so, the Visual Studio ASP.NET Development Server also blocks css files and images making your web app look like crap in Visual Studio... IIS however doesn't have this behaviour, so when you deploy your site, all looks nice and tidy...

Arcturus
A: 

Hi Brian

Many thanks - that worked! I would seriously have imagined that VS would see to it that IE would use the pages from the project, but then that just shows.

Thaks again

Steven

If my answer helped, would you mind accepting it by clicking the little check mark? Helps my reputation. :-)
Brian Sullivan
VS doesn't actually tell the browser anything.
Traingamer