Log in

View Full Version : expand div height



neilkw
10-04-2006, 11:42 AM
Hi,

My site below has a right hand column with various links inside.
http://www.clearancebathrooms.com/code/showers/doors/doors.html

I would like to make the 'rhc' div height expand and contract so that it always meets the footer, whatever page is viewed within the whole site.

Is there a cunning css hack for this?

Thanks
Neil

BLiZZaRD
10-04-2006, 11:48 AM
Try this link (http://archivist.incutio.com/viewlist/css-discuss/39093)

Good Luck making IE play nice. :D

BLiZZaRD
10-04-2006, 12:13 PM
If that one soesn't tweak you, try this local one :D (http://www.dynamicdrive.com/forums/showthread.php?t=12318)

neilkw
10-04-2006, 12:31 PM
well, thanks for those, but the problem I have is that I need to div to expand regardless of whether there is content inside it.

When I add breaks or image it does behave fine and expands downwards.

It just looks odd when the central content div is deep and the right hand column is nowhere to be seen.

I'd just like the blue column to expand to finish off the aesthetics of the page ie. it needn't have text or content in it.

neilkw
10-04-2006, 04:36 PM
my solution came from here...

http://www.alistapart.com/articles/fauxcolumns/