View Full Version : Stretching Height of div

11-18-2008, 07:04 AM
I have a 2 column page. I need the left column to stretch (height) according to the right column. Everything is written in DIV. Is this possible? If yes how since with DIV you have to set a height.

11-18-2008, 07:35 AM
If they are placed by floats, you'd need to use some faux column (http://www.alistapart.com/articles/fauxcolumns/) method.

eg: http://bonrouge.com/2c-hf-fixed.php

11-18-2008, 08:43 AM
I had that problem too. You can see my solution at the bottom in this thread (http://www.codingforums.com/showthread.php?t=152112).

11-18-2008, 09:51 AM
This site (http://www.dynamicdrive.com/style/blog/entry/css-equal-columns-height-script/) may be helpful.

It is in use here (http://exitfegs.co.uk/Sources.html). Does not use Background repeat.


EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum