Layout Help!

Discussion in 'CSS' started by willhaynes, Jan 16, 2008.

  1. #1
    Anyways, I'm sure that there is a simple answer to this but I must be too tired to see it right now.

    here is the problem:
    http://willhaynes.110mb.com/wordpress/

    when I add

    position : absolute ;
    Code (markup):
    to div.allposts, it does what it is doing now.
    but when I don't, the sidebar goes down to the bottom.

    any suggestions?

    ps. sorry for the messy html code, this is my first attempt at a wordpress theme and I'm not very good at making to code look nice at the moment.
     
    willhaynes, Jan 16, 2008 IP
  2. willhaynes

    willhaynes Active Member

    Messages:
    1,197
    Likes Received:
    34
    Best Answers:
    0
    Trophy Points:
    90
    #2
    ok guys, nvm
    I figured it out (but I haven't uploaded it to the site, so you can see it)
    all I had to do was add

    position : absolute ;
    top : 350 ;
    margin-left : 625 ;

    to the div.sidebar, and remove

    position : absolute ;

    from the main one.
    of course this means if the sidebar is longer then the content then it wont have a background, and suggestions on how to fix that?

    will
     
    willhaynes, Jan 17, 2008 IP