我正在尝试将图像输出到闪存ActionScript 2动态文本框中。这是通过将<img ... />放入htmlText-code中实现的。但是我不能在带有<center>...</center>标签的行上居中显示图像。
有没有人能帮我完成以下工作:
文本文本
IMG文本文本
在ActionScript 2的htmlText字段中。
发布于 2012-04-20 17:28:28
使用div和id包装器尝试这段代码
<?xml version="1.0" encoding="utf-8"?>
<about title="Blog">
<title>
<![CDATA[]]>
</title>
<thumb></thumb>
<text>
<div id="wrapper" style="width: 500px;">
<p>04/19-2012 - Test with images...</p>
<p>This image is not centered, as it should be...</p>
<p>
<center>
<img src="/uploads/dmbtest.gif" alt="" width="210" height="100" />
</center>
</p>
<p>This is text after the image, which should be placed just below the image and not next to it :(</p>
<p>##################################################</p>
</div>
</text><optionalText><![CDATA[]]></optionalText></about>它工作正常
https://stackoverflow.com/questions/10005964
复制相似问题