首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > ASP >

为啥在<marquee></marquee>中无法使用图片呢

2012-09-04 
为什么在marquee/marquee中无法使用图片呢?为什么下面代码保存(预览)后会出现不同结果呢?marquee dir

为什么在<marquee></marquee>中无法使用图片呢?
为什么下面代码保存(预览)后会出现不同结果呢?
<marquee direction=up scrollamount=2 onmouseover="this.stop();" onmouseout="this.start();" width=100 height=100><img src='logo.gif' width="200" height="200"><img src='logo.gif' width="200" height="200"></marquee>

保存(预览)后的代码:
<marquee direction=up scrollamount=2 onmouseover="this.stop();" onmouseout="this.start();" width=100 height=100></marquee>
<img src='logo.gif' width="200" height="200"><img src='logo.gif' width="200" height="200">



这是因为什么?请高手指教!

[解决办法]
应该可以的。
[解决办法]
应该是可以的,只不过属性和值写法规范点,值加上双引号

C# code
<marquee direction="up" scrollamount="2" onmouseover="this.stop();" onmouseout="this.start();" width="100" height="100">    <img src="logo.gif"  width="200" height="200"/>    <img src='logo.gif' width="200" height="200"/></marquee>
[解决办法]
应该可以的呀.
[解决办法]
绝对可以的! html的代码肯定不会自己变化的

用记事本打开编辑看看!

热点排行