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 trialKevin Schade
3,503 PointsMy .resorts, .tips rule won't adjust width??
CSS:
.resorts, .tips { width: 46.5%; }
HTML
Line 30: <div class="resorts"> Line 43: <div class="tips">
Using Chrome and Firefox browsers.
Jamie Reardon
Treehouse Project ReviewerAs Steven said, could be a syntax error in your CSS like a missing semi colon (;) Have you inspected the widths via the developer tools in chrome for example? I remember this course, you are following a float layout for the two columns.
Kevin Schade
3,503 PointsWell I Just closed and re-opened the workspace (no change to the code) and it worked.
Jamie Reardon
Treehouse Project ReviewerPossible browser cache on the files?
1 Answer
Steven Parker
231,248 PointsIt sounds like you may have forgotten one of the two necessary steps to see changes in a workspace:
- Save the changes using the editor menu or the control-S shortcut
- Refresh the browser to make the saved changes visible
Steven Parker
231,248 PointsSteven Parker
231,248 PointsOther CSS code might be interfering with or overriding this rule. Please post the whole code (including HTML) or a link to where it can be seen (a workspace snapshot would be ideal).