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

Sean Flanagan
Sean Flanagan
33,224 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
203,990 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
203,990 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,224 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,224 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
203,990 Points

Well thanks! I'm glad I could help.