Disable moving elements when another element’s display is set from none to block beside it.
In this screenshot, the fileMenu’s display is none.
In the second screenshot, the fileMenu’s display is set to block.
In the second screenshot, you can see that the other elements have moved. How do I prevent that from happening?
I solved it by setting their positions to absolute and putting a margin-top of the size of “Save” * 2 on “Upload a File”.
So, problem is solved?right
So mark it as Solution
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.