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

Rob MacKay

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:

have a quick read and see if it helps :)