0

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>
3
Contributors
3
Replies
17
Views
3 Years
Discussion Span
Last Post by minitauros
0

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

0

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;
}

Edited by minitauros

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.