Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Loraine Peart
482 PointsStyle the Image Caption | How to make a website
I followed the direction in the video but there is no space between the pictures. What is wrong with what I have? #gallery li a p {
margin: 0;
padding: 5%;
font-size: 0.75em;
color: #bdc3c7;
}
4 Answers

banu babanu
8,152 PointsCan you post your html file?

Loraine Peart
482 Points<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title> Narita | Nurse</title> <link rel="stylesheet" href="css/normalize.css"> <link href='http://fonts.googleapis.com/css?family=Changa+One|Open+Sans:400italic,700italic,400,700,800' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="css/main.css">
</head>
<body>
<header>
<a href="index.html" id="logo">
<h1> Narita</h1>
<h2>Nurse</h2>
</a>
<nav>
<ul>
<li><a href="index.html" class="selected">Portfolio</a></li>
<li><a href="about.html">About</a></li>
<li><a href="contact.html">Contact</a>
</li>
</ul>
</nav>
</header>
<div id="wrapper">
<section>
<ul id="gallery">
<li>
<a href="Img/numbers-01.jpg">
<img src="Img/numbers-01.jpg" alt="">
<p>Experimentation with color and texture.</p>
</a>
</li>
<li>
<a href="Img/numbers-02.jpg">
<img src="Img/numbers-02.jpg" alt="">
<p>Playing with blending modes in photoshop.</p>
</a>
</li>
<li>
<a href="Img/numbers-06.jpg">
<img src="Img/numbers-06.jpg" alt="">
<p>Trying to create an 80s style of glows.</p>
</a>
</li>
<li>
<a href="Img/numbers-09.jpg">
<img src="Img/numbers-09.jpg" alt="">
<p>Drips created using Photoshop brushes.</p>
</a>
</li>
<li>
<a href="Img/numbers-12.jpg">
<img src="Img/numbers-12.jpg" alt="">
<p>Creating shapes using repetition.</p>
</a>
</li>
</ul>
</section>
<footer>
<a href="http://twitter.com/ellenp90"><img src="Img/twitter-wrap.png" alt="Twitter logo"></a>
<a href="http://facebook.com/loraine.peart"><img src="Img/facebook-wrap.png" alt="Facebook logo"></a>
<p>© 2014 Narita</p>
</footer>
</div>
</body> </html>

banu babanu
8,152 PointsDownload the project files and compare with yours.

Loraine Peart
482 Pointsok
Jason Anello
Courses Plus Student 94,592 PointsJason Anello
Courses Plus Student 94,592 PointsHi Loraine,
Post all of the gallery related css.
Are you saying there's no space between each of your gallery items or no space between the images and the captions?