# HTML format in Dynamic Text Field

**URL:** <https://forum.kirupa.com/t/html-format-in-dynamic-text-field/34634>\
**Category:** flash\
**Created:** [November 4, 2003, 8:02pm UTC](https://forum.kirupa.com/t/html-format-in-dynamic-text-field/34634 "2003-11-04T20:02:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sr1200](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@sr1200](https://forum.kirupa.com/u/sr1200)\
**Post date:** [November 4, 2003, 8:02pm UTC](https://forum.kirupa.com/t/html-format-in-dynamic-text-field/34634/1 "2003-11-04T20:02:17Z")

</div>

Could anyone shoot me a way to center the text using HTML  
i usually do an align=“center” in HTML, but flash doesnt seem to like that (i just get a blank screen when i try to load it with that in the HTML.  
Also, if i use the “center” button in flash, it automatically centers all the thing i load into that field (which is no good).  
Thanks 🙂

---

<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:** [November 4, 2003, 9:26pm UTC](https://forum.kirupa.com/t/html-format-in-dynamic-text-field/34634/2 "2003-11-04T21:26:08Z")

</div>

I have no clue why it doesn’t work but be sure to click “render text as HTML” for the text block.

Make sure that you have loaded the text file correctly before you try centering it. This method works for me

[AS]\<p align=“center”\>This is a test…\</p\>[/AS]

---

<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:** [November 5, 2003, 5:58pm UTC](https://forum.kirupa.com/t/html-format-in-dynamic-text-field/34634/3 "2003-11-05T17:58:35Z")

</div>

the \<p align words but \<div align does not… hmmm  
Thanks a bunch! 🙂

---

<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:** [November 5, 2003, 6:00pm UTC](https://forum.kirupa.com/t/html-format-in-dynamic-text-field/34634/4 "2003-11-05T18:00:54Z")

</div>

DIV is not a supported tag.

The HTML allowed in Flash is the equivelent of HTML 1.0. Which is basically the common text formatting tags and that is it.
