WordPress.org

Support

Support » Themes and Templates » Absolute positioning not respecting its parent’s containing block

Absolute positioning not respecting its parent’s containing block

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi

    You have to assign position:relative to the parent element. Then it will behave as you want.

    When there is no position relative assignment in any of its containing blocks, the page element sets its absolute positioning relative to the body tag.

    Ah, that was simple. Thanks very much for your help!

    I also was having the same problem, and found this thread very helpful. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Absolute positioning not respecting its parent’s containing block’ is closed to new replies.
Skip to toolbar