I’m having a little issue with a div height I can’t figure out. I’ve got 2 div containers nested inside of another div. One is floated left the other right I think, but that’s not really important I don’t think.
The left div is a navlist, and the right div is the content. Basically, on some pages the navbar div ends up longer than the content div. This isan’t a big deal, but it looks a little funny. I just want the content div to extend to the same height as the navbar div if it’s taller. I thought since it was nested I would just have to add (height: 100%? to the styles for the content div, but that didn’t work. Any suggestions woudl be greatly appreciated. The code looks similar to this….
<div id=”content_box”>
<div id=”navbar”>Navbar stuff</div>
<div id=”content”> Content Stuff</div>
</div>
If you need any more info, let me know.
Thanks much.