我将htmlText属性的TextArea设置为以下值:
<img src="img.gif" />Some text<br><img src="img.gif" />Some text“某些文本”的顶部边缘与对应图像的顶部边缘对齐。
如何通过底部的边缘对齐(文本的底部到图像的底部)?有可能吗?
注:图像的高度大于文本的高度。
发布于 2009-04-28 08:17:09
解决方案之一是使用a Canvas over the TextArea
发布于 2009-04-24 12:44:40
在HTML文本中试试这个-
<table> <tr> <td> <img src="c:\1.png"/> </td> <td VALIGN="bottom"> Some text </td> </tr> </tablehttps://stackoverflow.com/questions/785448
复制相似问题