rizzledon
11-20-2012, 06:54 AM
Hi, I''m trying to create a downward scrolling marquee that starts straight away (without using javascript) and for some reason I'm getting a delay before it begins. I've tried adding a scrolldelay but it's not really working.
Anyone know why?
CSS
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<style type="text/css">
body {
height: 600px;
width: 1024px;}
#wrapper {
height: 600px;
width: 1024px;}
.marquee {
min-height: 600px;
position: absolute;
font-family: Garamond;
font-size: 8pt;
color: #FF00CC;}
</style>
HTML
<body>
<div id="wrapper">
<marquee class="marquee" direction="down" scrollamount="10">scroll down</marquee>
</div>
</body>
</html>
Anyone know why?
CSS
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<style type="text/css">
body {
height: 600px;
width: 1024px;}
#wrapper {
height: 600px;
width: 1024px;}
.marquee {
min-height: 600px;
position: absolute;
font-family: Garamond;
font-size: 8pt;
color: #FF00CC;}
</style>
HTML
<body>
<div id="wrapper">
<marquee class="marquee" direction="down" scrollamount="10">scroll down</marquee>
</div>
</body>
</html>