css expand - help plz

  • Started
  • Last post
  • 2 Responses
  • zuna

    we ran into a problem while working on this site:
    http://www.hyperphase.net/omni/p…

    maybe one of you css ninjas can come out of the woodwork and help out.

    the issue is the left nav is suppose to drop down to the bottom of the baseline as the page grows vertically. with the image locked in at the bottom of that column.

    view source will reveal the CSS on this page - its all in there - thanks in advance for any advise!

  • gamepaused0

    background-attachment: scroll;

    ?

  • Psychoholic0

    (I'm the poor soul working on this - my css is WEAK!)

    I am trying really hard not to do this in tables, but the desire is to do that is not quite as strong as the desire to finish this site - but I should probably learn this and just be done with it, but I digress.

    All of the content on the site is dynamic (wrote this nifty thing in php to do the sub-nav buttons, do rollovers, all from an admin panel) - so the heights change and the site will grow and contract as the content does as well. I want the left sub container (with the building graphic) to be the same height as the right sub container and extend to the bottom of the page.

    What I have done in the interim (not the most elegant solution) is I've taken the string from the database, removed the html from it and have gotten the length of it and then multiply that by 4 for the left nav, and inserted that as it's length (providing it's at least 550, if not, then the 'newheight' is 550), for the right column I do the same but subtract 35 from it to make room for the footer.

    Any thoughts on a more proper way to do this?