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 trialAntoine DuBois
3,130 Pointsmy images are not displaying side by side
#gallery li {
float: left;
width: 45%;
margin: 2.5%;
background-color: #f5f5f5;
color: #bdc3c7
}
2 Answers
Fredrik August Madsen-Malmo
16,261 PointsIt seems to work for me. http://jsfiddle.net/WB5UX/1/
Maybe you messed up <code>id</code> and <code>class</code> or something similar. Check to see if the references are right, If you can see the background on the <code>li</code> you know your referrals are right. Double check your code and see if something doesn't seem right.
Isaac Asante
4,752 PointsHey Antoine, in your code, you forgot to validate your last declaration with a semicolon after your value: color: #bdc3c7
It should be color: #bdc3c7;
Jason Anello
Courses Plus Student 94,610 PointsJason Anello
Courses Plus Student 94,610 PointsHi Antoine,
How are they displaying?