DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: [CSS] Problem with div height  (Read 4,563 times)

RedPillow

  • Pillows.
  • Member
  • Joined in 2008
  • **
  • Posts: 141
[CSS] Problem with div height
« on: June 15, 2011, 06:05 AM »
I got this picture here: http://imageshack.us/photo/my-images/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

  • I am cute ;)
  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 592
Re: [CSS] Problem with div height
« Reply #1 on: June 15, 2011, 12:24 PM »
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.

Original address: https://www.donationcoder.com/forum/index.php?topic=27056.0