When creating my components dynamically using JS, I utilize position: absolute for both the parent and children elements to achieve the desired placement.
But I've encountered an issue with centering a div within another div. Most solutions suggest making one of the positions relative, but I'm looking for a way around this limitation. Any suggestions would be greatly appreciated.