Forums

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

Home Forums CSS about positions (left right top bottom) easy Re: about positions (left right top bottom) easy

#65355
Johnnyb
Member

You use top, bottom, left and right to specify the position of an element which is positioned absolutely (position: absolute). So for example, bottom: 0px on an absolute element would put it at the bottom of a parent element which has position: relative, or if there aren’t any relative parents then it will position it relative to the browser window.