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 Website Testing

how do I make my images (portfolio page) appear side by side as in the tutorial?

how do I make the images on my portfolio page appear side by side like Nick's? they are stacked on top of each other

1 Answer

What is your code for the items holding the imgs? you might want to try:

.div//whatever the div is {
     display: inline-block;
     width: 49%;
}

that is if you have margin/padding to make it so 50% is not an option