# Fit to browser

**URL:** <https://forum.kirupa.com/t/fit-to-browser/41354>\
**Category:** Uncategorized\
**Created:** [January 28, 2004, 3:25am UTC](https://forum.kirupa.com/t/fit-to-browser/41354 "2004-01-28T03:25:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gridrunner](https://avatars.discourse-cdn.com/v4/letter/g/3be4f8/32.png) [@Gridrunner](https://forum.kirupa.com/u/Gridrunner)\
**Post date:** [January 28, 2004, 3:25am UTC](https://forum.kirupa.com/t/fit-to-browser/41354/1 "2004-01-28T03:25:56Z")

</div>

Hi

my site is almost done but i am having difficulties getting it to fit the browser.

whats the best way to make it adjsut itself to each of the resolutions, i.e. 800 x 600, 1024 x 720 etc… ?

or is there no way to do so in Flash MX?

what is the simple idiotic solution I’m missing here?

:thumb:

---

<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:** [July 10, 2004, 2:13pm UTC](https://forum.kirupa.com/t/fit-to-browser/41354/2 "2004-07-10T14:13:56Z")

</div>

I’ve tried those methods but there’s still a gap in between the side pane and the flash movie. I wanted the width to go from side to side like this: [http://www.daveshead.co.uk/](http://www.daveshead.co.uk/) mine has a gap of about 1cm at the left and the right margine… ☹

---

<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:** [July 11, 2004, 3:46am UTC](https://forum.kirupa.com/t/fit-to-browser/41354/3 "2004-07-11T03:46:41Z")

</div>

> [@mlk](#):
>
> simply make a page with the .swf only, not the swf embedded in html… it will show as big as the page is (if you haven’t scripted any FSfunctions…
> 
> ie this: [http://www.kirupaforum.com/swf/rh.swf](http://www.kirupaforum.com/swf/rh.swf) will be as big as your window is… but it might look ugly do to resizing…

hey…it worked:smirk:

---

<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:** [July 11, 2004, 6:28am UTC](https://forum.kirupa.com/t/fit-to-browser/41354/4 "2004-07-11T06:28:18Z")

</div>

Hey there! You said that you had margins around the page? That’s pretty easy to fix, just open up the html file that you published with the swf, and replace the \<body\> tag with \<body topmargin=“0” leftmargin=“0”\>

Hope that helps 😉

Insomniac
