Link to home
Start Free TrialLog in
Avatar of MsKrissy
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);'> &nbsp; &nbsp; <font color=#666666> <B>TOP 20 RANKING</B></font>&nbsp; &nbsp; </span> &nbsp;<?php print "$xmlBody"; ?>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
	<span style='background-image: url(../datagrid/images/head_bg.gif);'> &nbsp; &nbsp; <font color=#666666> <B>MOST FRIENDS</B></font>&nbsp; &nbsp; </span> &nbsp; <?php print "$xml2Body"; ?>&nbsp; 
	<span style='background-image: url(../datagrid/images/head_bg.gif);'> &nbsp; &nbsp; <font color=#666666> <B>MOST COMMENTS RECEIVED</B></font>&nbsp; &nbsp; </span> &nbsp; <?php print "$xml3Body"; ?>&nbsp;</DIV>

	<script type="text/javascript" src="../webticker_lib.js" language="javascript"></script>

	</body>

</html>

Open in new window

ticker.jpg
Avatar of wdosanjos
wdosanjos
Flag of United States of America image

You also need to specify the 'height' on your DIV.  Something like:

<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; height:20px;" onMouseOver="TICKER_PAUSED=true" onMouseOut="TICKER_PAUSED=false">

I hope this helps.
Avatar of MsKrissy
MsKrissy

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
Avatar of wdosanjos
wdosanjos
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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/body_bg.gif); width:700px; height:15px;" onMouseOver="TICKER_PAUSED=true" onMouseOut="TICKER_PAUSED=false">
thank you again for the help.