Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 01, 2012 06:26 AM by teguhyuliantos
Apr 23, 2012 05:41 PM|LINK
I'm very new to this and just learning, but I've been trying to go through this tutorial:
I am getting caught early on by "The Steps for Modifying the Appearance of the Site", where I am told to modify color values in Site.css. After making the changes they asked for my code looks like this:
"Trebuchet MS", Verdana, Helvetica, Sans-Serif;
only the 2nd "color" attribute applies. The first "background-color" attribute retains its original
5c87b2 color. Later on in the exercise I run into similar problems. I have tried restarting and refreshing the build before running it and there is no difference.
Sorry for the amateur hour question, but I can't find any answers to this very simple problem just by searching. Thanks.
Apr 23, 2012 05:44 PM|LINK
make sure that there is no styling applied inline to the body element. Styling applied inline will override what is in the css.
Apr 23, 2012 08:08 PM|LINK
Try starting from scratch.
If you create a new site from the Starter Site template, run it and then open Site.css in Webmatrix, modify the body background-color, save Site.css and refresh the site home page in the browser, I think you can see a new background color.
Apr 23, 2012 08:22 PM|LINK
I have never used WebMatrix. So, with that disclaimer, if you are viewing the page in a browser then understand that the browser will always cache the css. It is just another text file to the browser. Always do a page refresh or F5 or Ctrl-F5 or all of
them whenever you change the css. Also, you cannot possibly diagnose this type of issue without using the developer tools that come with every major browser. Just hit f12 and the tools will open. Learn to use them.
Apr 23, 2012 08:37 PM|LINK
Running the page and hitting F5 did the trick, thanks. I appreciate everyone who looked at this issue.
Apr 23, 2012 08:52 PM|LINK
I'm glad you resolved your issue. Please mark as answered all post that helped you. Doing so helps other users of the forum. Good luck.
May 01, 2012 06:26 AM|LINK
You can learn each value appear, and try to changed and modify with another value. Hope this will help your problem.