I've started using div tags to replace some of my large nested tables and also for this and that. I've read a bit and somewhat understand positioning (absolute and relative), but I have a couple of questions:
Using position: absolute; Is the reference point always the top left corner of the page (0,0) ? Or is the reference point the top left point of whatever contains the element being positioned?
Using position: relative; top and left position the element relative to where its "natural" position would be, right? What about nested elements having all or some positioned relatively? Is this something that needs to be considered using position: relative?
Hopefully, this is 'sensical'
Thanks.
Using position: absolute; Is the reference point always the top left corner of the page (0,0) ? Or is the reference point the top left point of whatever contains the element being positioned?
Using position: relative; top and left position the element relative to where its "natural" position would be, right? What about nested elements having all or some positioned relatively? Is this something that needs to be considered using position: relative?
Hopefully, this is 'sensical'
Thanks.