View Single Post
  #1 (permalink)  
Old Oct 12th, 2006, 16:27
shifty shifty is offline
Junior Member
Join Date: Aug 2006
Location: uk
Age: 25
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Div space adjusting with contained content

Okay, this one is kinda hard to explain, and I have no example as the site is in working.

How do I set-up a Div so that i automatically increases/decreases in vertical size , depending on what content is containe within the Div.

I am currently using a #Container(Div), with a #Content(Div) inside which houses the actual content. The problem is, however much text I put in the #Content(Div), the background (white) of either Div does not stretch with content, so I end up with lots of text which is overlaying the body.

I know thisis slighty ambigous, but your help would be appreciated.
Reply With Quote