In the production of web pages, the comprehensive use of dhtml and css technologies, combined with the <marquee> tag, can realistically simulate the effect of the credits in the title of a TV show on the web page. The method is to use the <div> tag combined with the position attribute of the style sheet to open up an area on the screen, then use the style sheet alpha filter to make the area semi-transparent, and then apply the <marquee> tag to the area. Create subtitle moving effects. Copy the following code to the appropriate location on your webpage and you will see this effect immediately. The area size in the code and the bg_line.gif graphic file can be modified to suit your needs.
〈div style="position:absolute;width:240px;height:200px;visibility:show;
z-index:10;left:310px;top:30px;background-color:lightyellow;
filter:alpha(opacity=85); "〉
〈table border=1 background="bg_100.jpg"〉
〈tr〉
〈td width=240〉
〈marquee style="height:200px;text-align:center;left:0px;top:1px;color:red ;
margin-left:1" scrollamount=1 behavior=loop direction=up〉
Website construction unit: Guorui Company〈br〉〈br〉
Web page production: Zhang Qing〈br〉〈br〉
Time: May 2000 22nd
〈/marquee〉
〈/td〉
〈/tr〉
〈/table〉
〈/div〉