Left column link to bottom of right content?

crazylegsmurphy
avatar
rank Regular

Regular


Posts: 11
Joined: 2008-07-23

Hey all,

Turns out I have never tried this before, but I have three divs.

One on the left, and two on the right.

What I would like to have happen is that the as the left column gets larger the top one on the right will stay only as big as the content, but the right column under that will not only expand to the bottom of the left div, but the text inside will sit at the bottom.

I have been trying to figure it out, but for some reason either I simply forget how to do it, or I have never actually done this before.

Any ideas?

Thanks,

Jeff

ewwatson
ewwatson's picture
rank Regular

Regular


Posts: 41
Joined: 2007-12-19

Sounds like a job for

Sounds like a job for position absolute. Give the Wrapper div a position relative and the bottom right div a position absolute - bottom: 0; right 0;. There will be some other things (margins etc) that will need to be worked out, but that should get you started. Smiling

crazylegsmurphy
crazylegsmurphy's picture
rank Regular

Regular


Posts: 11
Joined: 2008-07-23

Perfect, thanks!!

Perfect, thanks!!