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 Responsive Web Design and Testing Build a Three Column Layout

Jackson Fischer
Jackson Fischer
2,198 Points

pictures never go to 2 columns when resize? just different browser or what? code is exactly the same as the instructions

@media screen and (min-width: 480px) {

}

/********************** TWO COLUMN LAYOUT ***********************/

#primary { width: 50%; float: left; }

#secondary { width: 40%; float: right; }

/********************** PAGE: PORTFOLIO ***********************/

#gallery li { width: 28.3333%; }

#gallery li:nth-child(3n + 1) { clear: left; }

@media screen and (min-width: 660px) {

}

thats the code. no matter how much i minimize it it stay as 3 columns on the screen. never adjust

1 Answer

Jackson Fischer
Jackson Fischer
2,198 Points

never mind posted that to quickly. i stupidly didnt out it inside the first media query. duh. sorry for the quick ask