柔性。图像在htmlText中对齐

时间:2009-04-24 11:22:14

标签: flex htmltext

我将 TextArea htmlText 属性设置为以下值:

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

“某些文字”的上边缘与相应图像的上边缘对齐。

如何通过底部边缘(文本底部到图像底部)对齐?有可能吗?

备注:图像的高度大于文本的高度。

2 个答案:

答案 0 :(得分:1)

在HTML文本中尝试此操作 -

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

答案 1 :(得分:0)

其中一个解决方案是使用a Canvas over the TextArea

相关问题