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 trialAnthony Bellavia
5,063 PointsAbout page header background changes?
Each of my pages change correctly when they are scaled. However, my "about" page has this weird space above my header background. I checked my code and didn't do anything different as I can see. Can someone help me as to why it is doing this?
1 Answer
Jason Anello
Courses Plus Student 94,610 PointsIs it a white gap?
Did you put something other than the image as the first element in your section
?
You might need to clear the floated header.
Update your #wrapper
rule to this: (added clear: both
)
#wrapper {
clear: both;
max-width: 940px;
margin: 0 auto;
padding: 0 5%;
}
Anthony Bellavia
5,063 PointsAnthony Bellavia
5,063 PointsThe clear: both; worked thank you so much.