# Centering website in broswer when published

**URL:** <https://forum.kirupa.com/t/centering-website-in-broswer-when-published/10155>\
**Category:** Uncategorized\
**Created:** [December 25, 2002, 9:27pm UTC](https://forum.kirupa.com/t/centering-website-in-broswer-when-published/10155 "2002-12-25T21:27:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pithcell](https://avatars.discourse-cdn.com/v4/letter/p/3d9bf3/32.png) [@pithcell](https://forum.kirupa.com/u/pithcell)\
**Post date:** [December 25, 2002, 9:27pm UTC](https://forum.kirupa.com/t/centering-website-in-broswer-when-published/10155/1 "2002-12-25T21:27:54Z")

</div>

hey all merry xmas and happiest of holidays,  
i was wondering how i canter my website like [lostinbeta.com](http://lostinbeta.com), [beck.com](http://beck.com) etc. Right now whatever i do, dreamweaver positions my flash site in the top left corner of the browser, save the small border on the top and left,  
any help much appreciated  
P

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 25, 2002, 9:33pm UTC](https://forum.kirupa.com/t/centering-website-in-broswer-when-published/10155/2 "2002-12-25T21:33:49Z")

</div>

```php
<HTML>
<HEAD>
<TITLE>Title Here</TITLE>
</HEAD>
<BODY TOPMARGIN="0" BOTTOMMARGIN="0" LEFTMARGIN="0" RIGHTMARGIN="0" MARGINHEIGHT="0" MARGINWIDTH="0">

<TABLE WIDTH="100%" HEIGHT="100%">
<TR><TD WIDTH="100%" HEIGHT="100%" VALIGN="middle" ALIGN="center">

Place your content here.

</TD></TR>
</TABLE>
</BODY>
</HTML>

```

Copy and paste that into a new HTML file and then view it. Everything will be centered.
