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

Home Forums CSS Relative bottom positioning won’t work Re: Relative bottom positioning won’t work


I guess you used HTML in your comment and it was auto-removed, but I assume the missing content is p’s? Try clicking the “code” button if you need to insert code in your comments =)

Anyhooo… if I assumed right, this should fix your problem:

#boxes {
position: relative;

#blue p {
position: absolute;
bottom: 0;
margin-bottom: 0;

That is:
You have to set the parent as RELATIVE and the child as ABSOLUTE.
The child will then be absolute positioned relative to its parent.