marquee滚动文本在火狐和IE中越来越颤抖 [英] marquee scrolling text is getting shiver in fire fox and IE

查看:439
本文介绍了marquee滚动文本在火狐和IE中越来越颤抖的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我的应用程序中有滚动文字:



< marquee scrolldelay =20scrollamount =5 style =font-size:15pt; color:#FFFFFF; font-family:Calibri; width:834px; font-weight:bold;> 欢迎使用abc技术< / marquee>





它在chrome中工作正常,但是在firefox和IE中,文字正在变得颤抖。如何解决这个问题.plz建议我。

提前感谢。

解决方案

如果您仍想使用< marquee>,请不要在白色背景上使用白色字体。 。

您正在做的是将字体颜色设置为白色(颜色:#fffff),但对于大多数浏览器,默认背景颜色也是白色,因此也可以更改背景颜色或删除颜色属性。 ..

Hi,
I have scrolling text in my application:

<marquee scrolldelay="20" scrollamount="5" style="font-size: 15pt; color: #FFFFFF; font-family: Calibri;width: 834px; font-weight: bold;">welcome to abc technologies</marquee>


its working fine in chrome, but in firefox and IE the text is getting shiver.how to fix this problem.plz suggest me.
thanks in advance.

解决方案

If you still want to use <marquee>, do not use white font on white background...
What you are doing is setting font color to white (color: #fffff) but for most browser the default background color is white too, so ot change the background color too or remove the color attribute...


这篇关于marquee滚动文本在火狐和IE中越来越颤抖的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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