Image in absolute DIV is not positioning from containing DIV

Posted by Jaime Schuster on Stack Overflow See other posts from Stack Overflow or by Jaime Schuster
Published on 2010-12-10T17:02:45Z Indexed on 2011/01/10 15:54 UTC
Read the original article Hit count: 278

I have a DIV with position:absolute inside another with position:relative. But the inside DIV is flowing out of the other and positioning it self based on the browser not the containing DIV. Any ideas why this is happening?

You can see the problem here:

https://www.luxedesignerhandbags.com/Articles.asp?ID=239

Look at the botton right "Get Cash for your handbags"

The image is in div id="sell_bag" and that is contained in div id="wrapper"

The css is as follows:

#wrapper {
    position:inherit;
    font-family: Quicksand, Arial, Helvetica, sans-serif;
    width: 980px;
    left: 24px;
    margin: auto;
}

#sell_bag {
    position:absolute;
    right: 190px;
    width: 260px;
}

Any help would be greatly appreciated!

Thanks,

© Stack Overflow or respective owner

Related posts about div

Related posts about div-layouts