我要让标题从下向上滚动,这是我的代码,运行之后所有标题一起竖着向上滚动,而不是横着一条一条显示,这是怎么回事?<table width="230" height="250" border="0" cellspacing="0" cellpadding="0">
<tr><?php $query=mysql_query("select * from tb_xxgk order by id desc",$conn);
while($row=mysql_fetch_array($query)){?>
<td><marquee scrolldelay="1" scrollamount="1" direction="up">
<span style="height:250; width: 230px;"><?php echo "$row[title]";?><br />
</span>
<?php }?>
</marquee></td>
</tr>
</table>
<tr><?php $query=mysql_query("select * from tb_xxgk order by id desc",$conn);
while($row=mysql_fetch_array($query)){?>
<td><marquee scrolldelay="1" scrollamount="1" direction="up">
<span style="height:250; width: 230px;"><?php echo "$row[title]";?><br />
</span>
<?php }?>
</marquee></td>
</tr>
</table>
marquee scrolldelay="1" scrollamount="1" direction="up">
改成
direction="left"
或
删除
direction="up"