HTML/CSS Help

Associate
Joined
27 Dec 2007
Posts
36
Location
Scotland
Hey guys,

Im after some help with a website Im making for class, which Im currently in.
Most of the class is probably using tables and frames but I like css.

Anyway here is my question.

I have a container which i have all my 2 divs in, one for content and one for the side navigation.

Code:
div#navigation
{
	width: 175px;
	height: 600px;
	background-color: #fff;
	float: right;
	padding-top: 10px;
	padding-bottom: 5px;
}
div#content
{
	width: 419px;
	height: auto;
	background-color: #fff;
	float: left;
	text-align: left;
	padding-top: 10px;
	padding-left: 5px;
	padding-bottom: 5px;
}

Now when I type in text in the div content, I want the navigation to change to the same size as the content div, How would I get this.
 
Back
Top Bottom