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 trialmanish kumar
1,025 PointsImage
hello can anyone tell me why image crossing to each other image not shows separate i am confuse now
4 Answers
manish kumar
1,025 Pointsgallery {
margin: 0;
padding: 0;
list-style: none;
}
gallery li {
float: left;
width: 45%;
margin: 2.5%;
background-color: #f5f5f5;
color: #bdc3c7;
}
gallery li a p {
margin: 0;
padding: 5%;
font-size: 0.75m;
color: #bdc3c7;
but after done this and selected with gallery in html file these codes are not working.
Pedro Cabral
Full Stack JavaScript Techdegree Student 23,916 PointsIn the context of the quiz those are supposed to be applied to elements with ids, are you prefixing that with the symbol # as in #gallery, #gallery li etc?
manish kumar
1,025 Pointsyes i did same but not working
Jonas Mørkeby
3,530 PointsHi Manish Kumar. The only difference between your code and mine is that you are missing an 'e' in this line: "font-size: 0.75(e)m;" I do not know if this is the problem causing your website to look funny.
Other than that I can only say what Pedro already said, that we cannot see the #'s in front of your gallery selectors.
Pedro Cabral
Full Stack JavaScript Techdegree Student 23,916 PointsPedro Cabral
Full Stack JavaScript Techdegree Student 23,916 PointsIt's kinda hard to decipher what you just wrote, would you like to be more specific and perhaps include some of your code?