Need a little help with my backdround

I finished my portfolio page but I cant figure out why there are some spaces between my sections and the the page walls. Can someone help me with this?

Do you mean the white edge around the sides? Those are margins on the body. You can change your CSS to:

  margin: 60px 0 0 0;

to get rid of them.

Thank you for that. I also wanted help with the spaces between my sections do you know how I could fix that?

You can target the sections specifically with something like:

section {
  margin: 0 10px;

I’ve tried that and even tried increasing the height of the sections but no matter what I’ve done the space still remains.

add this at the very beginning of your CSS

* {
  box-sizing: border-box;
  margin: 0;

Thank you, it worked.
I really appreciate the help.

1 Like