# Textarea problem - shows 2 lines when htmlText is set

**URL:** <https://forum.kirupa.com/t/textarea-problem-shows-2-lines-when-htmltext-is-set/314719>\
**Category:** Uncategorized\
**Created:** [October 6, 2010, 11:08pm UTC](https://forum.kirupa.com/t/textarea-problem-shows-2-lines-when-htmltext-is-set/314719 "2010-10-06T23:08:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![patspats](https://avatars.discourse-cdn.com/v4/letter/p/b782af/32.png) [@patspats](https://forum.kirupa.com/u/patspats)\
**Post date:** [October 6, 2010, 11:08pm UTC](https://forum.kirupa.com/t/textarea-problem-shows-2-lines-when-htmltext-is-set/314719/1 "2010-10-06T23:08:11Z")

</div>

hi everyone…

I am using a TextArea. I set its htmlText as follows:

```auto
textArea.htmlText = '<P ALIGN="CENTER"><FONT FACE="_sans" SIZE="14" COLOR="#FFFF00" LETTERSPACING="0" KERNING="0"></FONT></P>';

```

The problem is that there are always 2 lines in text area when it runs…when i remove this i get usual one line but then i m not able to set color and all.

I want to use textarea, set different colors on it and i dont want 2 lines in that…

Am i making sense…please ask if you dont understand my question.

Thanks alot for any help in advance.  
Regards
