# Currently struggling with my image layout

**URL:** <https://forum.freecodecamp.org/t/currently-struggling-with-my-image-layout/133200>\
**Category:** General\
**Created:** [June 30, 2017, 3:29pm UTC](https://forum.freecodecamp.org/t/currently-struggling-with-my-image-layout/133200 "2017-06-30T15:29:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MonkeySpasms112](https://avatars.discourse-cdn.com/v4/letter/m/5f9b8f/32.png) [@MonkeySpasms112](https://forum.freecodecamp.org/u/MonkeySpasms112)\
**Post date:** [June 30, 2017, 3:29pm UTC](https://forum.freecodecamp.org/t/currently-struggling-with-my-image-layout/133200/1 "2017-06-30T15:29:42Z")

</div>

I’m working on wrapping up my tribute page and I want to reorganize the images to give them space in between them. However, every time I add a photo it clings right onto the photo above it. How would I solve this issue?

CodePen page: [https://codepen.io/MonkeySpasms112/pen/weyJRq](https://codepen.io/MonkeySpasms112/pen/weyJRq)

---

<div class="post-metadata">

**Author:** ![kevinSmith](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/kevinsmith/32/72934_2.png) [@kevinSmith](https://forum.freecodecamp.org/u/kevinSmith)\
**Post date:** [June 30, 2017, 5:43pm UTC](https://forum.freecodecamp.org/t/currently-struggling-with-my-image-layout/133200/2 "2017-06-30T17:43:12Z")

</div>

You could always add a class to the images, like:

```auto
.img-space {
  padding: 50px;
}

```

Or you could do it in a relevant already existing class.

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 17, 2021, 8:49pm UTC](https://forum.freecodecamp.org/t/currently-struggling-with-my-image-layout/133200/3 "2021-01-17T20:49:12Z")

</div>

Closed on January 17, 2021, 8:49pm UTC


