views:

71

answers:

1

I am trying to learn asp.net 4 web app but playing around the web page template shipped in VS 2010.

I clicked New Project --> (Web) ASP.Net Web Application
I click ok.
So now I am trying to manipulate the color of the blue header and the font color or the header text. But I am cant do it thru the css.

Any ideas what is going on in the background?

UPDATE
This is what I get in design time: DesignTime

This is what I get at runtime:

alt text

+3  A: 

If your changes aren't being reflected, try:

  • Ctrl-F5
  • Perhaps clear your browser cache?
  • Try another browser
  • If Internet Explorer, ensure your browser is checking for new versions 'Every time I visit the web page'
  • Publishing to a new IIS directory, rather than Visual Studio's built in web server.
  • Ensure there aren't any caching directives.
p.campbell
I did what you suggested (it's what I was doing before), I can see the font-color changes in design time "split" mode, but not when I run the page.
user279521
yep. tried Ctrl+F5. Same result.
user279521
@user: this is a big deviation from how the asp.net dev experience should start! Can you publish to a web server and see how it's served or rendered?
p.campbell
dont have an IIS setup yet. Will work on that and let you know how it goes. Thanks !!
user279521
same result with a web server. (why would a web server give a different result than an VS server? )
user279521
dont know what happened (midnight gremlins) but now the changes are reflected in runtime.
user279521