www.webdeveloper.com
Results 1 to 4 of 4

Thread: [RESOLVED] Absolute positioning within relative positioned DIV

Threaded View

  1. #1
    Join Date
    Mar 2004
    Location
    Nevada, USA
    Posts
    175

    resolved [RESOLVED] Absolute positioning within relative positioned DIV

    I always though you could position elements absolute within a relative positioned DIV, and the relative positioned DIV would expand to enclose all the absolute elements. Am I wrong on this?

    I have the CSS code for the rightbox contain the code: height: 100%;

    My example page is here:
    http://www.lawrence-nv.us/fashiondes...igners/Diaz-M/

    The gray box is my relatively positioned DIV, and the images are DIVs which are absolute positioned.

    Everything works correctly, except the gray DIV (rightbox) does not expand.

    If this positioning is incorrect, how would I position the images within this rightbox DIV and have it expand as I add more images?
    Last edited by lkeeney; 05-14-2012 at 04:20 PM.
    Larry

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles