Problem with floating menu and ID

Asked

Viewed 26 times

0

Greetings!

I’m making a website and created some sections each with their respective id. It turns out that the page has a floating menu that accompanies the whole navigation. I made a link in the menu so that when you click on one of the items go to the referring id on the same page. It happens that when you click on the menu the Section is misaligned because part of the content is covered by the floating menu. How could I arrange this alignment to fit well into the site?

  • You could create empty Ivs with the size of your menu before each Section, and point to these Ivs, so your menu would align with Section.

  • but this would not create an unnecessary empty space on the page causing it to lose the layout?

  • in vdd not pq they have no nd, ie without height or size

  • Lukas, I tried to put 500 Divs and nothing to change the automatic setfocus...

  • the provisional solution I found was to increase the size of the same padding, unfortunately.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.