Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Aug 2005
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    dynamic height of div elements

    I'm having problem in getting div elements to scale dynamically....

    basically the site looks like this

    Code:
    <div id="head">HEAD</div
    <div id="mainbody">
           <div id="menu">MENU</div>
           <div id="content">CONTENT</div>
           <div id="rightcol">RIGHT COLUMN</div>
    </div>
    <div id="footer"></div>
    ok, it's more complicated than this, but I think if I can get it to work here I can adapt it to my site...

    the problem is: menu, content and rightcol have different backgrounds, and I want them to scale so that all three columns are the same height (always the height of the longes element).

    Does anybody have a resolution for this?

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts

  • #3
    New to the CF scene
    Join Date
    Aug 2005
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thx, a lot, the Javascript solution worked like a charm for me


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •