在HTML中下移字幕/下移文本 [英] Moving Marquee/Moving Text Down in HTML

查看:975
本文介绍了在HTML中下移字幕/下移文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试向下移动HTML或移动HTML,但似乎无法将其移动到任何地方。我添加了一个color命令来更改文本的颜色,但是看起来好像一直在移动,一直到顶部。

I am trying to move down or Moving Text in HTML, but I can't seem to be able to, move it anywhere. I added a color command to change the color of the text, but it seems like that just moved, it all the way to the top.

<marquee style="color:blue" behavior="scroll" scrollAmount="15" width="1100" height="28" onMouseOver="this.scrollAmount=14" onMouseOut="this.scrollAmount=12"> 
<b> WELCOME TO USBUDNI! ENJOY YOUR STAY!</b>
</marquee>
           

这是我用于文本的HTML。

That is the HTML that I use for the text.

推荐答案

将此样式添加到标签中。

add this style to tag.

position: absolute;
bottom: 0;

这篇关于在HTML中下移字幕/下移文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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