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 trialMatthew Heiser
Courses Plus Student 613 PointsPhotos
All of my photos seem to be too big, what can I do to decrease the size? All of Nick's files seem to be a lot smaller and they work every time. My do not.
1 Answer
Amin Khoshzahmat
12,342 Pointsremember three rulse of RESPONSIVE WEB PAGE or FLUID LAYOUT ? in css, general part you should have this img { width: 100%;
}
gallery li {
display: inline-block;
float: left;
width: 45%; /* you can decress them by change percentage*/
margin: 2.5%;
} But it depends on their parent element.