# DIV height + resize

**URL:** <https://forum.kirupa.com/t/div-height-resize/196744>\
**Category:** web dev\
**Created:** [August 10, 2006, 5:33pm UTC](https://forum.kirupa.com/t/div-height-resize/196744 "2006-08-10T17:33:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![riot](https://avatars.discourse-cdn.com/v4/letter/r/6bbea6/32.png) [@riot](https://forum.kirupa.com/u/riot)\
**Post date:** [August 10, 2006, 5:33pm UTC](https://forum.kirupa.com/t/div-height-resize/196744/1 "2006-08-10T17:33:48Z")

</div>

Hi!!! Sorry about my english 😉

I have a div (id=flashid) that have 100% of height when the page is opened. Using Javascript, the height is resized (in px) when the size of my contents (a SWF that resize the stage) change.

My question: how to maintain the height allways in 100% and to have the resize only when the contets of my SWF are over this?

I don’t know if the question is on the right place, so sorry 😉

[]'s  
Edu
