Hi,
Below code working fine in firefox,but not working in IE,Chrome,Opera.
Need Suggestions.

<div class="topheading"><b>Headlines:</b></div>
<div id="marquee_wrap">
<marquee  direction="left" scrollamount="2">
<?php
include('../db.php');
$headlineNewsQuery=mysql_query("SELECT * from svn_headline order by newsid DESC LIMIT 0,8 ");
while($headlinenewsresult=mysql_fetch_assoc($headlineNewsQuery)){                   
//$newsHeadline=$headlinenewsresult['newsheadline'];    
?>
<li><img src="images/maq-bullet.png" /><?php echo $headlinenewsresult['newsheadline']; ?> </li>

<?php  }?>
</ul></marquee>


</div>

Below code working fine in firefox

What exactly isn't working?

Actually we are trying to marquess 6 headlines continuously ie..
my nsame is xyz,my nsame is xyz,my nsame is xyz,my nsame is xyz,my nsame is xyz
In firefox its working fine but in chrome its coming line by line. i.e..
my nsame is xyz
my nsame is xyz
my nsame is xyz
my nsame is xyz

First of all I think the use of the <marquee> element is waaaay overaged. Second, I think you could solve this problem by adding a CSS style to your <ul>'s <li> elements. Example:

li {
    float: left;
    margin-right: 6px;
}
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.