Absolute vs. Relative positioning

  • Unknown's avatar

    Here is a simple question, I think. I have learned how to move widgets around the page and put them in precise positions. Is there a way to have a widget (an RSS feed) be positioned relative to a div container on the page (so that its placement moves up and down the page relative to what comes before it)?

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi there, with position: absolute, the element basically loses all relationship with the other elements of the page and floats freely above it. You can set a parent div of that element to position: relative; and then the position: absolute element will respect the boundaries of the parent element.

    I’m not sure I understand exactly what you are wanting. Are you wanting the moved widget to stay fixed so that it is always visible when someone scrolls around?

  • The topic ‘Absolute vs. Relative positioning’ is closed to new replies.