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

Home Forums CSS css position absolute tricks Reply To: css position absolute tricks


Absolutely positioned child never has effect to it’s parent element.

You must use another way to make the parent pay attention to the child.

It could be one of:

  • display: inline-block; to child
  • float: left; to child and overflow: hidden; (or a clearfix) to parent
  • display: table; to parent and display: table-cell; to child

Tell better what you want and you get better help.