How do you stop the content in the menu from changing its position when you hover the home menu. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How do you stop the content in the menu from changing its position when you hover the home menu.

When you hover the home option in the menu, it has a dropdown effect, how do i stop it from displacing the content below. https://code.sololearn.com/W1eV0M1Qs5yt/?ref=app

26th Mar 2020, 6:13 AM
Olumba Solomon
Olumba Solomon - avatar
1 Answer
+ 1
Well you could add float and set position:absolute to the home element
26th Mar 2020, 10:35 PM
Ife Abimbola-Olulesi
Ife Abimbola-Olulesi - avatar