css expand - help plz

Out of context: Reply #2

  • Started
  • Last post
  • 2 Responses
  • 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?

View thread