I have just started ASP .NET recently, I already know C# HTML and CSS so it wasn’t too difficult to get a simple site running. All the online tutorials and documentation I have found , is either completely visual using the vs2005 ~ 2010 designers (I hate the designers) or mostly designing and some parts in VB .NET (I am er… not too keen on VB .NET). Overall , most only cover the basic and simple parts of web development , so I am getting problems in mastering the api. Anyway the thing that is bothering me the most is that I can’t change the appearance of the web controls, the css properties work in some cases but not in all. The Site.Master part is almost completely unchanged. Screenshot:
How do I change the blue and light blue colors of Site.Master?
From the looks of things, you are using the basic Web Application website which Visual Studio produces for you when creating a new project.
Going on this assumption, you need to look for the
Site.cssfile in the/Content/folder.Inside this, will be all the styles used for the various elements of the site.
I think the areas you are wanting to change are the
#header,#header h1',#menucontainer,ul#menu`Just change the
backgroundandcolorproperties to the colour you want. Also change the color of theborder