Home > Blockchain >  How can I remove the right-margin on my nav bar?
How can I remove the right-margin on my nav bar?

Time:05-17

I'm relatively new to HTML and CSS. I'm working on a portfolio website for class and am not using Bootstrap.

I can't seem to get rid of this small weird space on the right side of my page. I want my navbar to span the entire length of my page! The same thing is happening with my header image even when I change the margins, padding, etc. I'm out of ideas!

Any help/ideas would be appreciated. Thank you so much!

enter image description here

You have to set the padding: 0; in body tag.

  • Related