Div Sinks to Bottom of Column

Discussion in 'CSS' started by swoop, Oct 26, 2008.

  1. #1
    I started with a nice Open Source template and started removing the un-needed parts to fit my needs.

    It's all OK, except that a div in the right hand column sinks to the bottom instead of rising to the top of the column. Can somebody show me what I've done wrong?

    Original very nice template: http://www.oswd.org/design/preview/id/3626
    I've selected Page Layout 4 and Header Layout 3.

    My version: http://crvz.com/index.shtml
    There are only 3 other files, all inside the css folder: header3_setup.css, layout4_setup.css and layout4_text.css

    It works the same in FF3 and IE7.

    Thank you very much!
     
    swoop, Oct 26, 2008 IP
  2. kreativi

    kreativi Peon

    Messages:
    89
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Try to adjust the width of content area and right navigation. Incorrect width may be creating the problem.
     
    kreativi, Oct 26, 2008 IP
  3. swoop

    swoop Active Member

    Messages:
    469
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    90
    #3
    Since those widths are unchanged from the version that works, I'm not sure if that is the cause of the problem.

    ...Not that I know what the cause of the problem is :(
     
    swoop, Oct 27, 2008 IP
  4. ceetoe

    ceetoe Peon

    Messages:
    29
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    your div class="main" is the width of the container. You'll need to reduce the width for the div clss="main_subcontent" so they both fit the width.
     
    ceetoe, Oct 27, 2008 IP
  5. ceetoe

    ceetoe Peon

    Messages:
    29
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Actually "main" is fine. Sorry. Move the "main_subcontent" into the main div. If you have Firefox Firebug you can see what's happening with the layout.
     
    ceetoe, Oct 27, 2008 IP
    swoop likes this.
  6. swoop

    swoop Active Member

    Messages:
    469
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    90
    #6
    RIGHT! Just one little un-div in the wrong place. Thank you very much, ceetoe! :D
     
    swoop, Oct 30, 2008 IP