# Fluid Site help

**URL:** <https://forum.kirupa.com/t/fluid-site-help/202668>\
**Category:** flash\
**Created:** [October 3, 2006, 5:41pm UTC](https://forum.kirupa.com/t/fluid-site-help/202668 "2006-10-03T17:41:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ncsfoo](https://avatars.discourse-cdn.com/v4/letter/n/b487fb/32.png) [@ncsfoo](https://forum.kirupa.com/u/ncsfoo)\
**Post date:** [October 3, 2006, 5:41pm UTC](https://forum.kirupa.com/t/fluid-site-help/202668/1 "2006-10-03T17:41:28Z")

</div>

HI Guys, (sorry if this is in the wrong section i’m a newbie here)

Anyway, I’m trying to create a fluid site where one element remains at the bottom (BL actually) and the other element floats in the middle and resizes according to the browser size. Below is the actionscripting I have so far. It basically works horizontally but I can’t seem to get the MC “Main” to float in the middle vertically. Any ideas?

Thanks in advance!

Stage.align = “BL”;  
Stage.scaleMode = “noScale”;  
stop();

main.\_x = Stage.width/2  
main.\_y = (Stage.height-515)/2  
main.\_width = Stage.width\*.75  
main.\_height = (Stage.width/1.935)\*.75

sizeListener = new Object();  
sizeListener.onResize = function() {

main.\_x = Stage.width/2  
main.\_y = (Stage.height-515)/2  
main.\_width = Stage.width\*.75  
main.\_height = (Stage.width/1.935)\*.75

};  
Stage.addListener(sizeListener);
