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

PHP

Andreas Tollånes
Andreas Tollånes
13,044 Points

Missing clearfix on wrapper in "Build a Basic Website in PHP"

So I noticed that the project files included when I opened up the workspace at the beginning of the course did not include a clearfix for the wrapper class. So I had to put that in manually.

So I just added this after line 512 in the css:

.wrapper:after {content:"";height:0;display:block;visibility:hidden;clear:both;}

If it were said in the teacher's notes somewhere along the lines it's easy to miss and should be added to the workspace you get at the beginning of the course. Because I bet I am not the only one that keeps their first workspace throughout the project.