I've decided to revamp my approach and transition from using absolute positions to utilizing floats for positioning elements the way I desire.
Now the challenge lies in figuring out how to float multiple divs on top of each other, allowing users to seamlessly switch between them.
Any insights or suggestions would be greatly appreciated.
Edit: My motivation behind this shift is to maintain the hierarchy within my layout – ensuring that when a child div expands, the parent div also adjusts accordingly.