As a beginner you haven't as of yet discovered the myriad of problems associated with ap divs. suffice to say the best way to work with them is actually not at all, and to be honest, ap divs don't actually give you precision, quite the opposite in fact.
Agree
100%! Absolute positioning is the very
LAST thing you should consider using. It is the "last ditch method" that should be applied when all other avenues have been explored.
CSS positioning is the least understood and most overused concept in CSS, which stems from the time when browsers were being made to meet the W3c specifications rather than Netscape and Microsoft vying to create their own standards which the other company's browser did not support, so such layouts using CSS became known as "CSS-p" [short for for CSS Positioning]. When in reality positioning as a concept should NEVER have entered into it. And despite the fact that rows and columns are a concept of HTML tables or a two dimensional 'flat' X,Y space, so many developers STILL refer to to layouts as a x column design rather than considering HTML/CSS layout for the
three dimensional space, X,Y
AND Z that it truly is.
Positioning should
NEVER be necessary for a 'flat' two dimensional layout, as it is only the value of the position property that will bring the THIRD dimension (Z) into play.