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

Christopher Borchardt
Christopher Borchardt
2,908 Points

multiple columns

I created one question, but the problem was wrong for what is really going on now that i look closer.

All the formatting looks right in the gallery un-ordered list and list items. The colors are all showing up right. The problem is it is supposed to be showing in 2 columns, but it is only showing up as one. I checked the code in my css and it looks exactly like what is listed in the video but the pictures are not being formated to the 45%. they do scale fine when adjusting the size of the window, but only in 1 column.

here is my code currently.

https://w.trhou.se/z370fk7xn1

2 Answers

Christopher Borchardt
Christopher Borchardt
2,908 Points

ok, found the answer thanks to the other post. the problem was i missed a ":" after the width line. so it didn't apply the width property.

Good work - well done!! :+1:

Hi Christopher,

At first glance, I can't see anything immediately amiss; sorry.

I could suggest you look at my workspace here - perhaps comparing code will help. I tried, but couldn't see anything wrong.

Let me know how you get on!

Steve.

Christopher Borchardt
Christopher Borchardt
2,908 Points

thank you for looking, i don't feel quite so dumb, i've been staring at that code for almost 24 hours now and still can't see anything wrong with it.

I'll have a look tomorrow morning - I'm tired now, so will make stupid mistakes! :wink: