网页 滚动文字

brucelee015 2007-07-19 10:46:59
一个图片做背景
然后图片的左边 出现滚动的文字

我的写法 达不到效果
<marquee behavior="scroll" direction=up scrollDelay=80 scrollamount="2" onmouseover="this.stop()" onmouseout="this.start()" style="background-image: url(imagehead/head.jpg); background-attachment: fixed; width: 681px; background-repeat: repeat; height: 146px; background-color: transparent; text-align: left;">
<%-- <%=strNews%> --%>
文本啊文本
这是什么问题 如果文本非常长的话 就到图片的右边了 我只要它在左边的一块滚动哦
</marquee>
...全文
747 15 打赏 收藏 转发到动态 举报
写回复
用AI写文章
15 条回复
切换为时间正序
请发表友善的回复…
发表回复
felix3118 2007-07-19
  • 打赏
  • 举报
回复
去网上载“网页**效”
wxlwxlwxlwxl 2007-07-19
  • 打赏
  • 举报
回复
拿table放图片,再加滚动文字
xuyiazl 2007-07-19
  • 打赏
  • 举报
回复
<div style="width:200px;height:100px;background-image: url(imagehead/head.jpg);background-color:red" align="left" valign="top">
<marquee behavior="scroll" direction=up scrollDelay=100 scrollamount="2" onmouseover="this.stop()" onmouseout="this.start()" >

<div style="width:50%;height:100%;background-color:#ffffff">sdfsfdsdf<br />sdfsfdsdf<br />sdfsfdsdf<br />sdfsfdsdf<br />sdfsfdsdf<br />sdfsfdsdf<br />sdfsfdsdf<br />sdfsfdsdf<br />sdfsfdsdf<br />sdfsfdsdf<br />sdfsfdsdf<br />sdfsfdsdf<br /></div>

</marquee>
<div style="width:50%;height:100%;background-color:#dddddd; left: 50%; position: relative;top:-20%"></div>
</div>

具体的自己调整下内容
webipstin 2007-07-19
  • 打赏
  • 举报
回复
应该放在某个容器中吧,我想
qi_ting 2007-07-19
  • 打赏
  • 举报
回复
<marquee behavior="scroll" direction=up scrollDelay=80 scrollamount="2" onmouseover="this.stop()" onmouseout="this.start()" style="background-image: url(imagehead/head.jpg); background-attachment: fixed; width: 681px; text-align: left;">
</marquee>

honey52570 2007-07-19
  • 打赏
  • 举报
回复
问题不会的不能接分~!


我是专门来接分~!
sunchaohuang 2007-07-19
  • 打赏
  • 举报
回复
UPUPUPUP
xuyiazl 2007-07-19
  • 打赏
  • 举报
回复
<div style="width:200px;height:100px;background-image: url(imagehead/head.jpg);background-color:red" align="left">
<marquee behavior="scroll" direction=up scrollDelay=80 scrollamount="2" onmouseover="this.stop()" onmouseout="this.start()" >

<div style="width:50%;height:100%;background-color:#ffffff">sdfsfdsdf<br />sdfsfdsdf<br />sdfsfdsdf<br />sdfsfdsdf<br />sdfsfdsdf<br />sdfsfdsdf<br />sdfsfdsdf<br />sdfsfdsdf<br /></div>
</marquee>
</div>

把背景去掉 改成图片 自己设置宽度高度
pol000 2007-07-19
  • 打赏
  • 举报
回复
问题不会,可以接分么
viena 2007-07-19
  • 打赏
  • 举报
回复
问题不会,可以接分么
ustbwuyi 2007-07-19
  • 打赏
  • 举报
回复
我和高歌来的目的一样
amandag 2007-07-19
  • 打赏
  • 举报
回复
已经有人SF了
cherishLot 2007-07-19
  • 打赏
  • 举报
回复
BD
pol000 2007-07-19
  • 打赏
  • 举报
回复
先SF 在看
pol000 2007-07-19
  • 打赏
  • 举报
回复
SF

62,046

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧