文字移动属性的设置
方向 <direction=#> #=left, right
例如 <marquee direction=left>从右向左移!</marquee>
从左到右----字体是粗体
<font size=3 color=ff0000><b><marquee> 欢迎来到的天空!</marquee></font>
上下交替
<CENTER> <MARQUEE scrollAmount=2 direction=down height=60> <CENTER><FONT face=隶书 color=#ff0000 size=6><B>欢迎来到的天空</FONT></CENTER></B></MARQUEE> <CENTER> <MARQUEE scrollAmount=2 direction=up height=60> <CENTER><FONT face=隶书 color=#ff0000 size=6><B>欢迎来到的天空</FONT></CENTER></B></MARQUEE></CENTER>
方式 <bihavior=#> #=scroll, slide, alternate <marquee behavior=scroll>一圈一圈绕着走!</marquee> 例如 <marquee behavior=slide>文字只走一次就歇了!</marquee> <marquee behavior=alternate>文字来回走</marquee>
循环 <loop=#> #=次数;若未指定则循环不止(infinite) <marquee loop=3 width=50% behavior=scroll>只走 3 趟</marquee>
例如<marquee loop=3 width=50% behavior=slide>只走 3 趟</marquee> <marquee loop=3 width=50% behavior=alternate>只走 3 趟!</marquee>
速度 <scrollamount=#>
例如
<marquee scrollamount=20>啦啦啦,我走得好快哟!</marquee>
延时
<scrolldelay=#>
例如<marquee scrolldelay=500 scrollamount=100>啦啦啦,我走一步,停一停!
</marquee>
外观(Layout)设置
对齐方式(Align)
<align=#> #=top, middle, bottom <font size=6> <marquee align=top width=400>啦啦啦,我会移动耶!</marquee> </font>
底色
<bgcolor=#> #=rrggbb 16 进制数码,或者是下列预定义色彩: Black, Olive, Teal, Red, Blue, Maroon, Navy, Gray, Lime, Fuchsia, White, Green, Purple, Silver, Yellow, Aqua
例如 <marquee bgcolor=aaaaee>颜色!</marquee>
面积
<height=# width=#>
例如<marquee height=40 width=50% bgcolor=aaeeaa>面积!</marquee>
空白
(Margins)<hspace=# vspace=#> 例如 <marquee hspace=20 vspace=20 width=150 bgcolor=ffaaaa align=middle>面积!</marquee>
<marquee direction=up>我在向上走!</marquee> <marquee direction=down>我又下向走了</marquee>
阅读全文 | 回复(0) | 引用通告 | 编辑 |