# Pixelfonts, publishing and margins

**URL:** <https://forum.kirupa.com/t/pixelfonts-publishing-and-margins/28266>\
**Category:** flash\
**Created:** [August 11, 2003, 11:10pm UTC](https://forum.kirupa.com/t/pixelfonts-publishing-and-margins/28266 "2003-08-11T23:10:24Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![El\_Thierro](https://avatars.discourse-cdn.com/v4/letter/e/858c86/32.png) [@El\_Thierro](https://forum.kirupa.com/u/El_Thierro)\
**Post date:** [August 11, 2003, 11:10pm UTC](https://forum.kirupa.com/t/pixelfonts-publishing-and-margins/28266/1 "2003-08-11T23:10:24Z")

</div>

Okay…  
I’m designing a new website in Flash MX. So far, so good.  
A little while ago, I learned that to use pixel fonts in a good way, you need to always position them on ,0 values. Like 100,0 instead of 100,3.

When I preview my movie in Flash MX itself, everything looks fine. It’s all great. But when I watch the .swf on internet, the text is blurry! How does it DARE!!! Ⓜ

And especially, how does it come? Is it because I’m looking at the .swf file right away on the internet? ( I mean, like [http://www.mydomain.com/index.swf](http://www.mydomain.com/index.swf)) instead of in an html file?

I’m soooooooo frustrated!!! GRAAA!

😉

---

<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:** [August 11, 2003, 11:13pm UTC](https://forum.kirupa.com/t/pixelfonts-publishing-and-margins/28266/2 "2003-08-11T23:13:08Z")

</div>

Well when you’re looking at a swf file that isn’t embeded into html, the swf will stretch to fit your browser window so of course your fonts will look blurry.

---

<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:** [August 11, 2003, 11:17pm UTC](https://forum.kirupa.com/t/pixelfonts-publishing-and-margins/28266/3 "2003-08-11T23:17:14Z")

</div>

Wow, that was a fast reply.  
Is there any simple way I can make an html file in Notepad to embed it into html? Just to see if it’s not blurry anymore then?

This is my current html file I just made up:

**EDIT:** I had to delete it, coz it seems that when I post it here, it screws the whole page up :stunned:

But when I use that one (I just copied it from an old file and replaced the size and filenames), then there is an empty space to the left and above the swf on the html page. I don’t want that. I want the swf to cover the whole page (it should have the right size to do that) and no scrollbars…

---

<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:** [August 11, 2003, 11:24pm UTC](https://forum.kirupa.com/t/pixelfonts-publishing-and-margins/28266/4 "2003-08-11T23:24:31Z")

</div>

Flash can do it for you. Just go to File \> Publish Settings and you’ll see the HTML tab. Once you selected what you want, just hit OK or Publish. It will create a html file with your swf embeded in it for you.

---

<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:** [August 11, 2003, 11:30pm UTC](https://forum.kirupa.com/t/pixelfonts-publishing-and-margins/28266/5 "2003-08-11T23:30:38Z")

</div>

It still doesn’t work.  
Here’s the url, so you can see:

[http://www10.brinkster.com/elthierro/newdesign/website\_1.html](http://www10.brinkster.com/elthierro/newdesign/website_1.html)

You see there’s a white border on the left and the top, right? I don’t want that, and I don’t know how to get it away ☹

---

<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:** [August 11, 2003, 11:32pm UTC](https://forum.kirupa.com/t/pixelfonts-publishing-and-margins/28266/6 "2003-08-11T23:32:30Z")

</div>

The white space is margins. To remove those, go into your html code and change your body tag to this.

```php
<BODY bgcolor="#FFFFFF" topmargin="0" leftmargin="0">

```

---

<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:** [August 11, 2003, 11:40pm UTC](https://forum.kirupa.com/t/pixelfonts-publishing-and-margins/28266/7 "2003-08-11T23:40:53Z")

</div>

Praise the lord! Halleluja! It worked!  
I mean… Praise EG!

…

Right o.O

Anyway, thanks a bunch again man, you’ve been really helpful 😃

cYa

---

<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:** [August 11, 2003, 11:43pm UTC](https://forum.kirupa.com/t/pixelfonts-publishing-and-margins/28266/8 "2003-08-11T23:43:30Z")

</div>

You’re welcome. =)

---

<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:** [August 11, 2003, 11:47pm UTC](https://forum.kirupa.com/t/pixelfonts-publishing-and-margins/28266/9 "2003-08-11T23:47:27Z")

</div>

I would recommend removing all margins instead of just top and left.

```php
<BODY BGCOLOR="#FFFFFF" TOPMARGIN="0" LEFTMARGIN="0" BOTTOMMARGIN="0" RIGHTMARGIN="0" MARGINHEIGHT="0" MARGINWIDTH="0">

```

topmargin, leftmargin, bottommargin, and rightmargin are for both IE and NS

marginheight and marginwidth I believe are extra for NS (I don’t know about now, but it used to be screwey with margins and this would help that)

---

<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:** [August 11, 2003, 11:51pm UTC](https://forum.kirupa.com/t/pixelfonts-publishing-and-margins/28266/10 "2003-08-11T23:51:28Z")

</div>

Sigh…there goes Lost stealing my spotlight. ;(

---

<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:** [August 11, 2003, 11:51pm UTC](https://forum.kirupa.com/t/pixelfonts-publishing-and-margins/28266/11 "2003-08-11T23:51:36Z")

</div>

Okay, thanks lostinbeta. And EG.  
I’m going to sleep now, it’s 1:51 am here 😛

Goodnight and thanks again.

---

<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:** [August 11, 2003, 11:53pm UTC](https://forum.kirupa.com/t/pixelfonts-publishing-and-margins/28266/12 "2003-08-11T23:53:08Z")

</div>

Sorry EG ☹

---

<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:** [August 11, 2003, 11:56pm UTC](https://forum.kirupa.com/t/pixelfonts-publishing-and-margins/28266/13 "2003-08-11T23:56:32Z")

</div>

> \*Originally posted by electrongeek \*  
> \*\*Sigh…there goes Lost stealing my spotlight. ;( \*\*

I hate it when that happens!

Rev

---

<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:** [August 12, 2003, 3:08am UTC](https://forum.kirupa.com/t/pixelfonts-publishing-and-margins/28266/14 "2003-08-12T03:08:19Z")

</div>

me too Ⓜ
