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 trialMichael Webber
4,919 Pointsstyle.css sync with workspace page
I'm having trouble getting the style.css stylesheet to matchup with the corresponding workspace page when the page is supposed to be red, i.e.-
- { margin: 0; padding: 0; color: red; }
and saving, then refreshing the workspace does not make the content red on the webpage.
regina cachuela
3,796 Pointsi'm having this issue as well... I'm just using the index.html that's sitting in the workspace and added this to the style.css:
* { margin: 0; padding: 0; color: red; }
3 Answers
Steven Parker
231,248 PointsYou said you refreshed the workspace ... but did you refresh your browser to update the preview?
Levi McLaughlin
1,004 PointsI saved the workspace and refreshed the browser, but it still didn't update.
I have to close out of the browser and then reopen it every time in order to see the changes.
alexanderliu
976 PointsMake sure you saves the file before you refresh
Rick S
11,273 PointsDoesn't apply to the code you posted, but accidentally typing a colon instead of a semicolon after a property will cause not only that property, but all that follow it in that particular style declaration to not apply. But I posting here in case this helps someone else who's problem with this issue is simple typo.
Joseph Zimmerman
6,402 PointsJoseph Zimmerman
6,402 PointsHi Michael please post your code so we can assist.