# Text field offsets

**URL:** <https://forum.kirupa.com/t/text-field-offsets/231706>\
**Category:** flash\
**Created:** [July 6, 2007, 10:55pm UTC](https://forum.kirupa.com/t/text-field-offsets/231706 "2007-07-06T22:55:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tempest811](https://avatars.discourse-cdn.com/v4/letter/t/e480ec/32.png) [@Tempest811](https://forum.kirupa.com/u/Tempest811)\
**Post date:** [July 6, 2007, 10:55pm UTC](https://forum.kirupa.com/t/text-field-offsets/231706/1 "2007-07-06T22:55:15Z")

</div>

This problem has always been on the back of my mind…I would love it if someone could shed some light.

I made a dynamic text box at 0,0.  
I gave the textbox a border so I could see where the text is relative to the box that contains it.  
The text inside says “Hello World”.  
[COLOR=“Sienna”]The problem is that, although the text box is in the absolute top left corner, the text itself is offset a bit down and to the right (~7px down, ~2px over). Is there any way to change this offset/margin?[/COLOR]  
I know you can use leftmargin and rightmargin via TextFormat but it neither works with negative values nor does it fix the vertical problem.  
Thanks
