# Aligning content to bottom of browser

**URL:** https://forum.kirupa.com/t/aligning-content-to-bottom-of-browser/244367
**Category:** flash
**Created:** [November 16, 2007, 8:32pm UTC](https://forum.kirupa.com/t/aligning-content-to-bottom-of-browser/244367 "2007-11-16T20:32:44Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jibble](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jibble/32/2265_2.png) [@jibble](https://forum.kirupa.com/u/jibble)
#### Post date: [November 16, 2007, 8:32pm UTC](https://forum.kirupa.com/t/aligning-content-to-bottom-of-browser/244367/1 "2007-11-16T20:32:44Z")

</div>

So i’m trying to align a navigation to the bottom of the browser.

and this is whats happening…The NAV clip is aligning to something, but it’s not working right. I want it to be 25 pixels from the bottom at all times, no matter what size the browser is…

Here is the code and the .fla

```auto
fscommand("fullscreen", "true");
Stage.scaleMode = "noScale";
var myListener:Object = new Object();
myListener.onResize = function() {
    updateLocations();
};
Stage.addListener(myListener);
updateLocations = function () {
    NAV._y = Stage.height - 25;    
};
updateLocations();

```
