Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scrolling marqurr to a CSS

Status
Not open for further replies.

multifrostsl

Technical User
Nov 19, 2002
3
LK
Hi,
This is the CSS, used in the windows 98 explorer!
Please tell me how to input a scrolling marquee to this CSS.
(Please show me the coding)
This file is C:\WINDOWS\WEB\webview.

I pasted it below: Please show me the coding to put a scrolling marquee to this CSS.


body {font: 8pt/10pt verdana; margin: 0;}
#FileList {position: absolute; left: 30%; width: 70%; height: 100%}
#Media {margin-left: 15px}
#Panel {position: absolute; width: 30%; height: 100%; overflow: auto}
#PieChart {width: 100px; height: 50px; margin-top: 10px}
#Thumbnail {width: 160px; height: 160px; margin-top: 0px}
#Status {margin-left: 15px}
#Brand {position: absolute; left: 30%; width: 70%; height: 100%; overflow: auto}
p {margin-left: 15px; margin-top: 15px; margin-right: 15px}
p.Title {font: 16pt; font-weight: bold; margin-top: 5px}
p.LogoLine {margin-left: 0; margin-top: -5px; margin-right: 0; margin-bottom: 20px}
p.Warning {font-weight: bold; color: red}
p.Links {margin-top: 5px}
a.Command {font-weight: bold}
div.Release {width: 160px; text-align: right; background: buttonface; padding: 0px, 8px, 4px, 8px}
 
Marquee is an HTML tag as INPUT, DIV, TABLE, ... So you can't put it into a css but into an HTML. After, you can always define it's style into a css this way :
Code:
MARQUEE {
	color : #F1F1F1; 
	font-family: Verdana, Arial, Helvetica;
	font-weight : bolder;
	font-size: 20px; 
}
Water is not bad as long as it stays out human body ;-)
 
Hi multifrostsl,

as Targol explained Marquee is HTML. CSS is for defining the styles, so if you want to change the colour or font of the marquee you would use CSS (see targols example)

To just create a marquee it is simply:
<marquee>your text here</marquee>

you can then add attributes such as bgcolor=&quot;&quot; scrollamount=&quot;&quot; scrolldelay=&quot;&quot; loop=&quot;&quot; direction=&quot;&quot; etc etc

:: :: (DRAFT VERSION)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top