1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Sidebar problems

Discussion in 'CSS' started by blueuniverse, Oct 29, 2004.

  1. #1
    I am having a few css related problems, such as this one.
    SEMrush
    http://www.pointless-existence.com/archives/2004/10/the-power-of-contacts/

    Basically the footer bar isn't staying at the bottom, and the main content bit isn't stretching so that the right sidebar goes under the footer and to the bottom.

    What I want is for the sidebar to go almost right to the bottom, and then have the footer right at the bottom. I don't want the content in the sidebar to go over or under the footer.

    Any suggestions?
     
    blueuniverse, Oct 29, 2004 IP
    SEMrush
  2. blueuniverse

    blueuniverse Guest

    Messages:
    217
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Any ideas? :S
     
    blueuniverse, Nov 2, 2004 IP
  3. dyn4mik3

    dyn4mik3 Peon

    Messages:
    126
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    ...looks like simplebits.
     
    dyn4mik3, Dec 12, 2004 IP
  4. blueuniverse

    blueuniverse Guest

    Messages:
    217
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    huh? I'm not asking for opinions on the design, which still isn't complete btw, but a solution to the CSS problem, hence the forum.
     
    blueuniverse, Dec 12, 2004 IP
  5. nevetS

    nevetS Evolving Dragon

    Messages:
    2,544
    Likes Received:
    211
    Best Answers:
    0
    Trophy Points:
    135
    #5
    Footers in CSS are very difficult to deal with. The problem I'm guessing (since I didn't take the time to analyze your code) is that the footer is at the end of your "main content" div, and your sidebar is longer than your main content.

    Here's one suggestion - enclose your main content and sidebar divs in a container div, then place the footer div last. That way, if the main content is longer, the footer will go after that, if the sidebar is longer, the footer will go after that. Just a stab though, it may or may not work.
     
    nevetS, Dec 13, 2004 IP
  6. dyn4mik3

    dyn4mik3 Peon

    Messages:
    126
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I'm not sure what you want - in firefox it looks like your footer is all the way at the bottom and the sidebar ends when it reaches the footer.

    Looks like what you want...unless I'm getting this wrong.
     
    dyn4mik3, Dec 13, 2004 IP
  7. nevetS

    nevetS Evolving Dragon

    Messages:
    2,544
    Likes Received:
    211
    Best Answers:
    0
    Trophy Points:
    135
    #7
    In Mozilla, the footer starts at "copyrights" on the sidebar, blocking and obscuring that content.
     
    nevetS, Dec 13, 2004 IP