MsKrissy
asked on
ticker issues with IE
I have a ticker that works fine in safari and firefox. But for some reason it is not working in explorer. I have attached an image of the results, and I have attached my code. Can someone let me know what I am doing wrong?
<!DOCTYPE HTML>
<head>
<style type="text/css">
html { height: 35px; }
body,td,th {
font-family: Verdana, Geneva, sans-serif;
font-size: 10px;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
a:link { COLOR: #0e71f6; }
a:visited { COLOR: #0e71f6; }
white-space: nowrap;
</style>
</head>
<body>
<DIV ID="TICKER" STYLE="display:none; border-top:0px solid #ffffff; border-bottom:1px solid #cccccc; overflow:hidden; background-image: url(../datagrid/images/body_bg.gif); width:700px" onMouseOver="TICKER_PAUSED=true" onMouseOut="TICKER_PAUSED=false">
<span style='background-image: url(../datagrid/images/head_bg.gif);'> <font color=#666666> <B>TOP 20 RANKING</B></font> </span> <?php print "$xmlBody"; ?>
<span style='background-image: url(../datagrid/images/head_bg.gif);'> <font color=#666666> <B>MOST FRIENDS</B></font> </span> <?php print "$xml2Body"; ?>
<span style='background-image: url(../datagrid/images/head_bg.gif);'> <font color=#666666> <B>MOST COMMENTS RECEIVED</B></font> </span> <?php print "$xml3Body"; ?> </DIV>
<script type="text/javascript" src="../webticker_lib.js" language="javascript"></script>
</body>
</html>
ticker.jpg
ASKER
I did that, it reduced the size, but the scrolling still does not occur in IE, is there some kind of "no wrap" specification I can add?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I had to move the nowrap to this location, and it worked great, thank you very much!
<DIV ID="TICKER" STYLE="white-space:nowrap; display:none; border-top:0px solid #ffffff; border-bottom:1px solid #ffffff; overflow:hidden; background-image: url(../datagrid/images/bod y_bg.gif); width:700px; height:15px;" onMouseOver="TICKER_PAUSED =true" onMouseOut="TICKER_PAUSED= false">
<DIV ID="TICKER" STYLE="white-space:nowrap;
ASKER
thank you again for the help.
<DIV ID="TICKER" STYLE="display:none; border-top:0px solid #ffffff; border-bottom:1px solid #cccccc; overflow:hidden; background-image: url(../datagrid/images/bod
I hope this helps.