# A really simple flash in html - question

**URL:** <https://forum.kirupa.com/t/a-really-simple-flash-in-html-question/117804>\
**Category:** Uncategorized\
**Created:** [July 30, 2004, 1:00pm UTC](https://forum.kirupa.com/t/a-really-simple-flash-in-html-question/117804 "2004-07-30T13:00:58Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![byron\_2](https://avatars.discourse-cdn.com/v4/letter/b/51bf81/32.png) [@byron\_2](https://forum.kirupa.com/u/byron_2)\
**Post date:** [July 30, 2004, 1:00pm UTC](https://forum.kirupa.com/t/a-really-simple-flash-in-html-question/117804/1 "2004-07-30T13:00:58Z")

</div>

I have never needed to do this before - how do you get the swf to sit at the very top of a html page?? so there is no borders? I have tryed alligning but no avail

thanks in advance.

---

<div class="post-metadata">

**Author:** ![snaphappy](https://avatars.discourse-cdn.com/v4/letter/s/ed8c4c/32.png) [@snaphappy](https://forum.kirupa.com/u/snaphappy)\
**Post date:** [July 30, 2004, 1:39pm UTC](https://forum.kirupa.com/t/a-really-simple-flash-in-html-question/117804/2 "2004-07-30T13:39:18Z")

</div>

try putting this in the \<head\> of your html code

topmargin=“0” rightmargin=“0” bottommargin=“0” leftmargin=“0”

?

---

<div class="post-metadata">

**Author:** ![byron\_2](https://avatars.discourse-cdn.com/v4/letter/b/51bf81/32.png) [@byron\_2](https://forum.kirupa.com/u/byron_2)\
**Post date:** [July 30, 2004, 1:44pm UTC](https://forum.kirupa.com/t/a-really-simple-flash-in-html-question/117804/3 "2004-07-30T13:44:43Z")

</div>

No Didnt Work - Thx

---

<div class="post-metadata">

**Author:** ![emorej](https://avatars.discourse-cdn.com/v4/letter/e/a4c791/32.png) [@emorej](https://forum.kirupa.com/u/emorej)\
**Post date:** [July 30, 2004, 1:56pm UTC](https://forum.kirupa.com/t/a-really-simple-flash-in-html-question/117804/4 "2004-07-30T13:56:36Z")

</div>

try this

\<style type=“text/css”\>  
\<!–  
body {  
margin-left: 0px;  
margin-top: 0px;  
margin-right: 0px;  
margin-bottom: 0px;  
}  
–\>  
\</style\>\</head\>

---

<div class="post-metadata">

**Author:** ![amanuo](https://avatars.discourse-cdn.com/v4/letter/a/e99b99/32.png) [@amanuo](https://forum.kirupa.com/u/amanuo)\
**Post date:** [July 30, 2004, 1:57pm UTC](https://forum.kirupa.com/t/a-really-simple-flash-in-html-question/117804/5 "2004-07-30T13:57:17Z")

</div>

\<body leftmargin=“0” topmargin=“0” marginwidth=“0” marginheight=“0”\>

---

<div class="post-metadata">

**Author:** ![byron\_2](https://avatars.discourse-cdn.com/v4/letter/b/51bf81/32.png) [@byron\_2](https://forum.kirupa.com/u/byron_2)\
**Post date:** [July 30, 2004, 2:34pm UTC](https://forum.kirupa.com/t/a-really-simple-flash-in-html-question/117804/6 "2004-07-30T14:34:31Z")

</div>

thankyou everyone - the last one did it.

you all are a great help .

one day when i`m a flash elder i`ll repay and ween the youngsters of tommorrow!

---

<div class="post-metadata">

**Author:** ![snaphappy](https://avatars.discourse-cdn.com/v4/letter/s/ed8c4c/32.png) [@snaphappy](https://forum.kirupa.com/u/snaphappy)\
**Post date:** [July 31, 2004, 12:27am UTC](https://forum.kirupa.com/t/a-really-simple-flash-in-html-question/117804/7 "2004-07-31T00:27:29Z")

</div>

I said \<head\> didn’t I? I actually meant \<body\>, so sorry about that and glad it was corrected! Spent so much time delving into the world of actionscript lately I have forgotten HTML…

These forums are great:)

---

<div class="post-metadata">

**Author:** ![Sandman9](https://avatars.discourse-cdn.com/v4/letter/s/6a8cbe/32.png) [@Sandman9](https://forum.kirupa.com/u/Sandman9)\
**Post date:** [July 31, 2004, 12:32am UTC](https://forum.kirupa.com/t/a-really-simple-flash-in-html-question/117804/8 "2004-07-31T00:32:48Z")

</div>

I have this code which works great

\<body topmargin=0 bottommargin=0 bgcolor="#000000"\>

Although it does not align it to the top in Safari.

Sandman9
