Skip to main content
Participating Frequently
March 9, 2011
Question

Aling htmlText in TexArea in Flex 4 on right side

  • March 9, 2011
  • 1 reply
  • 596 views

Hi,
I want to align my html text in a textarea where there are like two  different string which are left and right aligned. How do it do that?

E.g. I want to write a name and the time stamp in the manner:
———————————————–-------------------------------------------------------------------------------------------------
MyName                                                                                                                                                         10.30am
———————————————–-----------------------------------------------------------------------------------------------------

where name is on left end and time stamp is on the extreme right.

I have tried <align>, <span> <div> options, but they do not work in Flex Textarea.

When i use <p align="left/right"> it owrks fine but whenever a paragraph is added the text begins from the new line. I want the text to be left and right aligned in the same line.

Please suggest how can I do that. I am working in Flex4 and IDE is Flash Builder 4.

This topic has been closed for replies.

1 reply

Nitika_AgAuthor
Participating Frequently
March 9, 2011

Text is to be alligned in the following manner:

E.g. I want to write a name and the time stamp in the manner:


———————————————–---------------------------------------------
MyName                                                                10.30am
———————————————–---------------------------------------------