# CSS Container DIV problems

**URL:** <https://forum.kirupa.com/t/css-container-div-problems/193354>\
**Category:** web dev\
**Created:** [July 12, 2006, 7:55pm UTC](https://forum.kirupa.com/t/css-container-div-problems/193354 "2006-07-12T19:55:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AgentFitz](https://avatars.discourse-cdn.com/v4/letter/a/f17d59/32.png) [@AgentFitz](https://forum.kirupa.com/u/AgentFitz)\
**Post date:** [July 12, 2006, 7:55pm UTC](https://forum.kirupa.com/t/css-container-div-problems/193354/1 "2006-07-12T19:55:18Z")

</div>

Hey – hope all are well…I’m having some trouble with my container div in CSS. How can I make it dynamically grow based on the content inside? The way I have it now looks silly because I have fixed it at 1000 pixels, so the content will fit. So…on my “taller” pages, content fits nicely, but on “shorter” pages, it doesn’t. I tried the height:auto, figuring it would make the div size base itself on the content…but that didn’t work either. any ideas?

taller  
[http://www.hollyfitzgerald.com/specializations.cfm](http://www.hollyfitzgerald.com/specializations.cfm)

shorter  
[http://www.hollyfitzgerald.com/about\_therapy.cfm](http://www.hollyfitzgerald.com/about_therapy.cfm)

also…they’re not consistent between IE and Firefox…Thanks for any insight!!
