topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday December 14, 2024, 10:21 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: [CSS] Problem with div height  (Read 3263 times)

RedPillow

  • Member
  • Joined in 2008
  • **
  • Posts: 141
  • Pillows.
    • View Profile
    • Read more about this member.
    • Donate to Member
[CSS] Problem with div height
« on: June 15, 2011, 01:05 AM »
I got this picture here: http://imageshack.us...mages/17/probmb.png/

What I need to do is to make that blue bordered div stretch in height so it fills the cyan bordered area, depending how long the red bordered area is.

So if there's lots of text in the red bordered area, the cyan-area will get a lot longer and therefore the blue area must stretch so it reaches the bottom of the wide area.

Lol do you get me  :huh:

The blue bordered area should be kind of 'anchored' into the bottom of the big white area so it stretches.

Ampa

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 592
  • I am cute ;)
    • View Profile
    • MonkeyDash - 2 Player strategy boardgame
    • Donate to Member
Re: [CSS] Problem with div height
« Reply #1 on: June 15, 2011, 07:24 AM »
Do you have a live version of the page uploaded somewhere?

It will be easier to experiment and see the structure of the page from a real example rather than a static image.