tags:

views:

648

answers:

2

I set htmlText property of a TextArea to the following value:

<img src="img.gif" />Some text<br><img src="img.gif" />Some text

The top edge of "Some text" is aligned to the top edge of the corresponging image.

How to align it by bottom edges (the bottom of the text to the bottom of the image)? Is it possible?

Remark: image's height is greater than text's one.

+1  A: 

Try this in the HTML text -

<table> <tr> <td> <img src="c:\1.png"/> </td> <td VALIGN="bottom"> Some text </td> </tr> </table
Manoj Awasthi
Unfortunately, table tag is not supported in Flex renderer.
alexey
A: 

One of the solutions is to use a Canvas over the TextArea

alexey