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

Lee Toye
Lee Toye
2,098 Points

Gallery Layout Not Working - Float element is not the same as the tutorial.

Hello Team,

I have followed the tutorials to the letter, but my page does not respond when changing browser size.

Instead of the two columns, my gallery images bunch together and do not space evenly, also my <ul> list captions do not change color, can anyone see what I am doing wrong?

Thank you.

Snapshot of my workspace - https://w.trhou.se/leh3z5brd0

1 Answer

Øystein Gerhardsen
Øystein Gerhardsen
3,078 Points

I found that you have hard-coded the size of all images under the heading comment to 700 *700 px. This is after you coded the images under the general comment. If you remove the image style under the heading comment you should be fine :)

Øystein

Lee Toye
Lee Toye
2,098 Points

Ah awesome! Thanks for that :)