# How to center my Flash

**URL:** https://forum.kirupa.com/t/how-to-center-my-flash/119296
**Category:** Uncategorized
**Created:** [August 13, 2004, 8:25am UTC](https://forum.kirupa.com/t/how-to-center-my-flash/119296 "2004-08-13T08:25:04Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Dominerd](https://avatars.discourse-cdn.com/v4/letter/d/7ba0ec/32.png) [@Dominerd](https://forum.kirupa.com/u/Dominerd)
#### Post date: [August 13, 2004, 8:25am UTC](https://forum.kirupa.com/t/how-to-center-my-flash/119296/1 "2004-08-13T08:25:04Z")

</div>

I just started remaking my first flash site and I got a new free host… I learned the html to show my Swf. on the page aswell ( which I’m pretty proud of, since I’ve only been using flash a week now)… But As you can probably tell it hangs to the left of the screen…

How do I center it?

[www.freewebs.com/dominerds](http://www.freewebs.com/dominerds)

---

<div class="post-metadata">

### Author: ![redanchor](https://avatars.discourse-cdn.com/v4/letter/r/dbc845/32.png) [@redanchor](https://forum.kirupa.com/u/redanchor)
#### Post date: [August 13, 2004, 10:16am UTC](https://forum.kirupa.com/t/how-to-center-my-flash/119296/2 "2004-08-13T10:16:24Z")

</div>

I know that some/a lot of the stuff on this site, [http://www.htmlgoodies.com](http://www.htmlgoodies.com) is/may be out of date, but I know that it helped me a bit back in the day. I also know that this might not be the best way to do this either, css probably being your better bet, but, anyways, something like this should work.

```php
<table width=100% height=100% border=0>
<tr>
<td align=center valign=center>
<OBJECT>
Your embedded flash file
</OBJECT></td>
</tr>
</table>

```

---

<div class="post-metadata">

### Author: ![d100763](https://avatars.discourse-cdn.com/v4/letter/d/71c47a/32.png) [@d100763](https://forum.kirupa.com/u/d100763)
#### Post date: [August 13, 2004, 11:14am UTC](https://forum.kirupa.com/t/how-to-center-my-flash/119296/3 "2004-08-13T11:14:03Z")

</div>

Double check your links, I can’t see your site…

---

<div class="post-metadata">

### Author: ![jdl](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@jdl](https://forum.kirupa.com/u/jdl)
#### Post date: [August 14, 2004, 7:37am UTC](https://forum.kirupa.com/t/how-to-center-my-flash/119296/4 "2004-08-14T07:37:59Z")

</div>

I use dreamweaver with flash and just insert flash and centre align - I’m lazy so it does it for me 🙂

---

<div class="post-metadata">

### Author: ![minimalistik](https://avatars.discourse-cdn.com/v4/letter/m/e47774/32.png) [@minimalistik](https://forum.kirupa.com/u/minimalistik)
#### Post date: [August 14, 2004, 7:42am UTC](https://forum.kirupa.com/t/how-to-center-my-flash/119296/5 "2004-08-14T07:42:34Z")

</div>

What Jdl said, its easy and its not being lazy, the end result is more important. Import the swf file into Dreamweaver by clicking the red flash icon, locate it\> when its on the page, on down to the properties window\>select it and center it.

---

<div class="post-metadata">

### Author: ![zoip](https://avatars.discourse-cdn.com/v4/letter/z/5daacb/32.png) [@zoip](https://forum.kirupa.com/u/zoip)
#### Post date: [August 14, 2004, 4:20pm UTC](https://forum.kirupa.com/t/how-to-center-my-flash/119296/6 "2004-08-14T16:20:35Z")

</div>

```auto
<center>

flash object

</center>

```
