WEB CSS Relative Positioning - Gaps after pulling content up

Discussion in 'OT Technology' started by fishbulb, Mar 17, 2009.

  1. fishbulb

    fishbulb Active Member

    Joined:
    Oct 29, 2001
    Messages:
    6,848
    Likes Received:
    4
    Location:
    md
    Anyone ever encountered relative positioning an element to be pulled up lets say 250 Px. using
    Code:
    position:relative;
    top:-250px;
    
    and content that follows in other elements is padded at the bottom of the page by the amount of space that the element in the higher container was pulled up? Oddly I can overcome it in IE by forcing some heights on certain elements, but the problem persists in FF and Safari.

    I could understand if the Gap existed right after the element that was "pulled up", but it always pads the end of the page. Unfortunately in this scenario its use relative positioning for this layout or use some nasty tables. This is mostly a stab in the dark, unfortunately I can't post up the site since I don't think the client would appreciate his product being put out yet. Thanks
     

Share This Page