Hi. I’m a total newbie to HTML, and I’m currently trying to center a nav bar that I made, but I can’t. I tried to text-align: center; but to no avail. Here are my CSS and HTML codes:
Have you accidentally nested the navbar stuff inside of something else whose attributes are messing it up? I’ve been stumped by issues before where I’ve been unable to identify what’s wrong with my code and it turns out being a tag I forgot to close or something somewhere. Try putting your navbar at the very top of your HTML and see if that makes a difference. I’m still new too but if you want to link me to your project I could take a look at it. I just finished my portfolio page so navbar difficulties are still fresh for me.