Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Jabedul Islam
3,542 PointsAny changes made in CSS style-sheet is not reflected when I preview.
Hi, I have tried making simple changes to the style-sheet but when I press preview the web page is not updating. I can make changes to the HTML document and it works. For every video I have watched so far the style-sheet doesn't work. The style-sheet is linked to the HTML document by default so i'm sure it's not a coding problem.
For example:
the default code was:
/* Background Color */
html { background:#3D475F; }
I simply changed the color to: /* Background Color */ html {
background:#E6E6E6;
None of the changes work. Please help!
2 Answers
Jeremy Hill
29,567 PointsIt is case sensitive. In CSS:
body{
background-color: #e6e6e6
}
Jeremy Hill
29,567 PointsIn html:
bgcolor="#e6e6e6"
Alex Watts
8,396 PointsAlex Watts
8,396 PointsHello Jabedul,
If you are using work space try and refresh the web page (save your code first!). If this still does not work copy all your code and place it into another work space or a different text editor.
Hope this helps.