alexey
alexey

Reputation: 8480

Flex. Images aligning in htmlText

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.

Upvotes: 0

Views: 1213

Answers (2)

alexey
alexey

Reputation: 8480

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

Upvotes: 0

Manoj Awasthi
Manoj Awasthi

Reputation: 3520

Try this in the HTML text -

<table> <tr> <td> <img src="c:\1.png"/> </td> <td VALIGN="bottom"> Some text </td> </tr> </table

Upvotes: 1

Related Questions