# Why cant my swf center in browser window

**URL:** https://forum.kirupa.com/t/why-cant-my-swf-center-in-browser-window/271637
**Category:** Uncategorized
**Created:** [September 25, 2008, 5:25pm UTC](https://forum.kirupa.com/t/why-cant-my-swf-center-in-browser-window/271637 "2008-09-25T17:25:19Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![DdigitalD](https://avatars.discourse-cdn.com/v4/letter/d/a6a055/32.png) [@DdigitalD](https://forum.kirupa.com/u/DdigitalD)
#### Post date: [September 25, 2008, 5:25pm UTC](https://forum.kirupa.com/t/why-cant-my-swf-center-in-browser-window/271637/1 "2008-09-25T17:25:19Z")

</div>

I have a swf file that needs to be centered vertically and horizontally. I’ve done this a million times but it’s not working right now. Regardless of the users monitor resolution I need this swf to sit centered. I know some of this is also in the HTML coding but I’m doing all the normal things with that too and it’s not working.

In my HTML I have a main table at 100% width. This table is aligned to center and the \<tr\> tags is set to center and middle. Nested in the table is another table that embedded my SWF. It’s always allowed the swf to stay centered regardless of browser size - what am I doing wrong right now?
