# textWidth and html formmated text

**URL:** <https://forum.kirupa.com/t/textwidth-and-html-formmated-text/288351>\
**Category:** flash\
**Created:** [May 14, 2009, 3:34pm UTC](https://forum.kirupa.com/t/textwidth-and-html-formmated-text/288351 "2009-05-14T15:34:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ivankul](https://avatars.discourse-cdn.com/v4/letter/i/ea666f/32.png) [@ivankul](https://forum.kirupa.com/u/ivankul)\
**Post date:** [May 14, 2009, 3:34pm UTC](https://forum.kirupa.com/t/textwidth-and-html-formmated-text/288351/1 "2009-05-14T15:34:36Z")

</div>

Hi there,  
I have trouble detecting width of html formatted text,  
I am using textWidth property, but it looks like it gives width of default formatted text, not detecting html formating.

Is there some way to detect real width?
