# How do i fix this?

**URL:** <https://forum.codewithmosh.com/t/how-do-i-fix-this/15961>\
**Category:** HTML/CSS\
**Created:** [October 20, 2022, 5:23pm UTC](https://forum.codewithmosh.com/t/how-do-i-fix-this/15961 "2022-10-20T17:23:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rinne6paths](https://avatars.discourse-cdn.com/v4/letter/r/7bcc69/32.png) [@Rinne6paths](https://forum.codewithmosh.com/u/Rinne6paths)\
**Post date:** [October 20, 2022, 5:23pm UTC](https://forum.codewithmosh.com/t/how-do-i-fix-this/15961/1 "2022-10-20T17:23:22Z")

</div>

So i ve been messing around with my code a bit, but i cant get the background flush with the entire page and its because of whats going on with my content border. does anyone know how to make sure that the content stays within the scope of the background image and doesn’t exceed it? i don’t want white space on the top and bottoms of the page

 ![Screen Shot 2022-10-20 at 12.14.01 PM (2)](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/f/f08439f2869949725837f91028607710cfaebefd.jpeg)

---

<div class="post-metadata">

**Author:** ![MTownsend](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/mtownsend/32/6311_2.png) [@MTownsend](https://forum.codewithmosh.com/u/MTownsend)\
**Post date:** [October 20, 2022, 7:27pm UTC](https://forum.codewithmosh.com/t/how-do-i-fix-this/15961/2 "2022-10-20T19:27:52Z")

</div>

Hello,

It is typically easier to help on things like this when the markup and styling is shared with an online code editor like [CodePen](https://codepen.io/) or [JSFiddle](https://jsfiddle.net/). You can easily copy your code into one of those and get a share link, that you can add here.

Are you trying to do something like [this](https://codepen.io/Mijuto/pen/bGMPJoj)?
