Forums

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

Home Forums CSS difference between the absolute and relative attributes in the css Re: difference between the absolute and relative attributes in the css

#93686

Setting an element’s position to relative allows you to use positioning while keeping the element in the document flow. Absolute positioning removes the element from the flow of the document. Each of these have their uses, and I would suggest you experiment with them to learn!