Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS CSS relative positioning Re: CSS relative positioning

#76846
Rob MacKay
Participant

relative positioning works from a starting point of where the element WOULD have been rendered normally. Absolute positioning works from the parent element (if it has a position of at least relative) or defaults to the browser.

For a deeper look I wrote a quick article on it here:

http://alteredaspect.info/the-art-of-css-positioning/

have a quick read and see if it helps :)