I set up my navbar in fiexd, but when I put the nav link button, the page scroll at the wrong position, the extra space is the height of navbar, the section I want to link is start from the navbar bottom, I couldn’t find the way to solve this problem, please help me
I had a quick look, and if you set the position property of the Navbar element to ‘sticky’ instead of ‘fixed’, that seems to solve the problem.
I truly appreciate all your help on this matter.
No problem at all! Glad it’s fixed
Your answer is totally work, but I meet another difficulty.
The top have extra space.
Do you know how to solve this problem?
Might not be the best method, but if you set the top margin of ‘Section home’ to -230px that seems to work okay.
I can’t thank you enough AGAIN!!!