一段奇怪的HTML代码,居然在IE(IE 6.0)里没有滚动效果,而在FireFox里有(相信原意是想做成滚动的):
一段奇怪的HTML代码<table cellpadding=2 cellspacing=0 style="font-size:9pt ;color: ;background: ;align:left ;width:480 ;height: ;" align='2' valign='2' width='100%' height='100%'><tr bgcolor='#53a618'><td style="text-align:left;color:#ffffff;font-size:nullpt;height:22;">上海市今明天气预报</td></tr><tr><td vAlign=top style='border:solid #53a618 1px;border-top:0px'><marquee onmouseover="javascript:this.stop()" onmouseout="javascript:this.start()" scrollAmount="1" scrollDelay="60" width="98%" height="98%" direction=up><table style="font-size:9pt ;color: ;background: ;align:left ;width:480 ;height: ;" cellpadding='5'><tr><td><p><span>上海中心气象台预报稿
一段奇怪的HTML代码
上海中心气象台2005年01月08日21时发布的今夜和明天上海市天气预报:
一段奇怪的HTML代码多云,明天晴到多云。
一段奇怪的HTML代码偏北风4-5级,
一段奇怪的HTML代码明天最高温度6度,最低温度零度,局部地区有薄冰。
一段奇怪的HTML代码今天相对湿度40%--80%,&nbsp;明天相对湿度40%--80%.&nbsp;&nbsp;</span
></li></td></tr></table></marquee></td></tr></table>

不知道有什么玄机,让IE不会滚动<marquee>中的内容。初步实验,觉得是外层table的一些style与marquee在IE中有些冲突吧。呵呵,毕竟IE支持CSS2也不够彻底……

相关文章:

  • 2021-07-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-19
  • 2021-11-05
  • 2021-09-12
猜你喜欢
  • 2022-02-06
  • 2021-12-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-31
  • 2021-11-16
相关资源
相似解决方案