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

HTML How to Make a Website Styling Web Pages and Navigation Style the Portfolio

Sara Parker
Sara Parker
2,238 Points

The pictures are not lining up in two columns. Can someone see something wrong with my code?

4 Answers

Robert Bennett
Robert Bennett
11,927 Points

<section id="photos"> <ul id="images">

Ir should read <ul id="gallery">

Sara Parker
Sara Parker
2,238 Points

Thank you! But the text under the pictures will still not appear. Do you know why?

Guil Hernandez
STAFF
Guil Hernandez
Treehouse Teacher

Hi Sara Parker,

It looks like you need to remove the gallery id on line 18 of index.html. And, on line 27, the ul id needs to be gallery instead of images.

Sara Parker
Sara Parker
2,238 Points

Hi Guil Hernandez,

There is still white background around the pictures. Do you know why?

Guil Hernandez
STAFF
Guil Hernandez
Treehouse Teacher

Sara Parker

Can you please post the latest Workspace snapshot? :)

Guil Hernandez
STAFF
Guil Hernandez
Treehouse Teacher

You've set #gallery li's background color to #f5f5f5 on line 87 of your CSS. Remove the background color and you will no longer see the white background. :)

Sara Parker
Sara Parker
2,238 Points

Thank you. Do you also know why my text do not line up under my header?