AS3错误?换行CSS标签后会自动进入 [英] AS3 bug? Newline automatically entered after css tag

查看:148
本文介绍了AS3错误?换行CSS标签后会自动进入的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我呈现文本字段(闪光CS5)具有以下CSS和HTML属性:

I am rendering a TextField (Flash CS5) with the following css and html properties :

css = "a {font-weight: bold;} fu {color: #00A0A0;}"
wordWrap = true
multiline = true
html = <![CDATA[&quot;Phoenicians were pioneering artisans and ingenious craftsmen…

They developed the technique behind the production of transparent glass…

Their innovation spread around the globe throughout the past centuries…

<fu>WE AIM TO CARRY ON WITH THE INNOVATION</fu>&quot;]]>

最后一个引号是在一个线下方呈现的我们的目标是......。是这样的呈现:

The last QUOTE is rendered in a line BELOW "WE AIM TO...". It's rendered like this :

...

我们的目标是继续按照创新

WE AIM TO CARRY ON WITH THE INNOVATION

只有这样,才能使在同一行的报价我们的目标......是:

The ONLY way to render the quote in the same line with "WE AIM..." is to :

一)无论是将其放在&LT;福&GT;

b)或删除&LT;福&GT; 完全

这是一个Flash漏洞?我做得不对的CSS或HTML?

Is this a Flash bug? Am I doing something wrong with css or html?

在预先感谢,

比尔

推荐答案

而不是去复杂的跨越的方式,只需添加这在你的CSS说明:

Instead of going the complex "span" way, just add this in you css description:

CSS =一个{字体重量:大胆;} {复色:#00A0A0; 显示:内联; }

css = "a {font-weight: bold;} fu {color: #00A0A0; display:inline;}"

这篇关于AS3错误?换行CSS标签后会自动进入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆