SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Thread: Content Overrun

  1. #1
    SitePoint Guru
    Join Date
    Aug 2004
    Location
    Port Sunlight
    Posts
    815
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Content Overrun

    http://www.nicktoye.co.uk/test_suite...egs/about.html

    Anyone see why the content is overlapping into the footer?

    I just can't see what i've done wrong.

    Cheers

  2. #2
    SitePoint Guru
    Join Date
    Aug 2004
    Location
    Port Sunlight
    Posts
    815
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So I guess if you have an absolutely positioned or relative positioned element within another div it doesn't force the parent div to expand with it.

  3. #3
    Non-Member
    Join Date
    Jan 2005
    Location
    Netherlands
    Posts
    4,300
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello

    use margin-top not top
    #info {position: relative;margin-top:180px;

  4. #4
    SitePoint Guru
    Join Date
    Aug 2004
    Location
    Port Sunlight
    Posts
    815
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    So why would I need to do that?

    Actually I have taken the position relative out and just used margin-top and margin-left, it seems to have the desired effect.

  5. #5
    Non-Member
    Join Date
    Jan 2005
    Location
    Netherlands
    Posts
    4,300
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by NickToye
    So I guess if you have an absolutely positioned or relative positioned element within another div it doesn't force the parent div to expand with it.
    Hello

    thats the answer


Bookmarks

Posting Permissions

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