Results 1 to 6 of 6

Thread: CSS - page extending past main body content

  1. #1
    Join Date
    Feb 2008
    Location
    california
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default CSS - page extending past main body content

    I have a website I created mostly in CSS, and I have a problem where when the content expands past "the fold" only the main content column extends, but not the side column. Furthermore, the footer doesn't extend with the main content but just floats at the bottom of the page. If anyone can help with some kind of height: 100% tag (which I tried but doesn't work), I would greatly appreciate it.

    http://www.concreatures.com/main.html

    (this page works)

    http://www.concreatures.com/greystonestest.html

    ( i can't get the left column to expand with the body, or align at the top, it's one or the other?!)

    Any help is much appreciated?!
    Last edited by jonnyhay; 06-22-2009 at 09:00 PM.

  2. #2
    Join Date
    Jun 2009
    Location
    Laputa
    Posts
    43
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Try putting everything in a <div> with width:100%;height:/*how high you want the page to be.*/;

  3. #3
    Join Date
    Feb 2008
    Location
    california
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default CSS columns 100% height not working

    thanks, but it didn't work.
    it extends 100%, as it did before, but it starts a few inches down, NOT at the top.

    Also, i don't know why i'd have to embed the column in another DIV if the DIV it is in is already set to 100% height, as well as vertical-align:top;

    WHY DOES THE CSS IGNORE ME??

  4. #4
    Join Date
    Jun 2009
    Location
    Laputa
    Posts
    43
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    That is really weird. Are you making this by hand, or in Dreamweaver, Nvu, or some other wysiwyg editor?

  5. #5
    Join Date
    Oct 2006
    Location
    New York, NY, USA
    Posts
    262
    Thanks
    42
    Thanked 24 Times in 24 Posts

    Default TABLE layout

    You seem to be using tables instead of CSS for your layout. I did not try to follow all the <tr><td></td></tr> entities, but wonder if you just have an empty cell at the top of the "left column" and/or if you should have a <td rowspan="2"> for the middle section?
    Last edited by auntnini; 06-25-2009 at 09:08 PM. Reason: typo

  6. #6
    Join Date
    Jun 2009
    Location
    Laputa
    Posts
    43
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Safari didn't find any errors, so your nesting is fine.

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
  •