# CSS: Problem with Div Heights

**URL:** <https://forum.kirupa.com/t/css-problem-with-div-heights/289113>\
**Category:** web dev\
**Created:** [May 26, 2009, 3:01pm UTC](https://forum.kirupa.com/t/css-problem-with-div-heights/289113 "2009-05-26T15:01:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![HecticMedia](https://avatars.discourse-cdn.com/v4/letter/h/e99b99/32.png) [@HecticMedia](https://forum.kirupa.com/u/HecticMedia)\
**Post date:** [May 26, 2009, 3:01pm UTC](https://forum.kirupa.com/t/css-problem-with-div-heights/289113/1 "2009-05-26T15:01:24Z")

</div>

Hi guys,

I’ve got a site where I have 2 divs inside a wrapper…

The wrapper has the following set:

```auto

#wrapper {
	width:950px;
	min-height:485px;
	height:auto !important;
	height:485px;
	margin:0 auto 45px auto;
	background-color:#663300;
}

```

The left div and right div are both floated left and have a height of 100% each.

I need it so that whent he right div (which is where the content goes) stretches in height, the left one stretches with it. But I’ve done a lot of research and nothing works…

Can anyone help?

Thanks!

B :sen:
