0
Can someone tell me how to make drop-down menu do not move? When I press on it it jumps left right..
3 ответов
+ 2
The easiest fix would be to change right to left in the CSS in line 38.
+ 2
Because the whole element
<div id="menu-box">
grows once the elements of the drop-down are visible. Since it grows to the right it pushes the menu button with it because the menu button follows the left edge of the box.
If you want to visualise this add something like
border: 1px solid red;
to the CSS of the #menu-box and see what happens.
0
Why it was moving when it was o.n right?