So when I first implemented the navbar, (thanks W3schools) it worked exactly as it should. Somewhere along the way, when designing the actual content of my site, it started floating like 10-20 pixels from the top of the screen.
I have a version from before this happened, but I can’t tell what I did in order to bug it.
But how come it changed, since I’ve never had the top:0;?
And I originally had the background-repeat: attached, but I deleted it since it seemingly didn’t change anything, and I didn’t understand what it did. What does it do?