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

CSS

Hi I have gotten to the point where we use CSS to make images arrange in two columns and using safari. Not working

How to make images into two columns?

You'll need to post your code, or a workspace snapshot in order for us to help you troubleshoot what might be going wrong.

Both your CSS and HTML files are important!

2 Answers

I notice that Nick's code looks like this:

img {
  max-width: 100%;  /*so the images stay in their parent containers*/
}
#gallery {
  list-style: none; /*to remove bullet points*/
}
#gallery li {
  float: left; /*makes images appear side by side*/
  width: 45%;
  margin: 2.5%; /*along with the width, this makes the images fill 100% of the viewport*/
  background-color: #f5f5f5;  /*very light grey*/
  color: #bdc3c7; /*a shade of green-blue*/
}

I found that I could not resize Safari small enough for my layout changes to take effect. Try using chrome. I was able to resize the Chrome much smaller than Safari.