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

CSS CSS Layout Basics CSS Layout Project Column Layout with Media Queries

Sean Flanagan
Sean Flanagan
33,235 Points

Blue area doesn't cover entire class secondary

Hi.

I followed Guil's instructions to the letter but the blue area doesn't cover the whole of .secondary at desktop width.

I'd appreciate any help.

https://w.trhou.se/f3jmj3wo8t

Sean

4 Answers

Steven Parker
Steven Parker
229,732 Points

The "footer" section should come after the "container" div.

So the closing </div> tag on line 54 of the snapshot should probably be on line 50 instead.

Steven Parker
Steven Parker
229,732 Points

The pale blue area isn't intended to cover the secondary area or any other portion of the container.

But it looks like you may have a closing </div> tag out of place and the footer is currently inside the container.

Sean Flanagan
Sean Flanagan
33,235 Points

Hi Steven.

Thanks for replying.

So are you saying the footer shouldn't be in the container? And which </div> tag is out of place?

Sean Flanagan
Sean Flanagan
33,235 Points

That worked perfectly. I've upvoted both your posts and given your second post Best Answer.

Thank you Steven

Sean :-)

Steven Parker
Steven Parker
229,732 Points

Well thanks! I'm glad I could help.