1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Development Why isn't my 'body' the height of my page?!

Discussion in 'Software' started by seanblee, 28 Sep 2008.

  1. seanblee

    seanblee New Member

    Joined:
    17 Jun 2001
    Posts:
    229
    Likes Received:
    1
    Hi all,

    It's been a while since I did any web programming, so I may have missed something obvious here, but I just can't spot it!

    Take a look at http://www.discoveryownersclub.org/phpBB3/ - the grey colour in a very short strip at the top is the background colour that's been assigned to the <body> element. Elsewhere on the site (e.g. http://www.discoveryownersclub.org ), the body is the full height of the page. For some unknown reason, on forum pages, it's only that short strip at the top. Any guesses what's going on here?

    Thanks in advance!
     
  2. seanblee

    seanblee New Member

    Joined:
    17 Jun 2001
    Posts:
    229
    Likes Received:
    1
    LOL forget that - the top-level child <div> was set to position:absolute, which evidently screwed the whole thing up and was completely unnecessary. Switched it back to relative and now it's fine!
     

Share This Page