webtuto Posted November 30, 2008 Share Posted November 30, 2008 hi im trying to make a dedication script and my code is : <?php include 'config.php'; $get_msg = mysql_query("select * from table order by id desc")or die(mysql_error()); while($oop = mysql_fetch_array($get_msg)) { echo "<marquee behavior='slide' direction='left' >".$oop['name']." : </td><td>".$oop['message']."</marquee>"; } ?> but when i test it , it gives me a message under the other , but iwant it to be the message near the other one any help is appreciated thanks Link to comment https://forums.phpfreaks.com/topic/134871-a-dedication-script-need-help/ Share on other sites More sharing options...
rhodesa Posted November 30, 2008 Share Posted November 30, 2008 <MARQUEE ...> is a text level element. By default <MARQUEE ...> has a WIDTH of 100%, so it might appear as a block level. However, if you set the width to something smaller than 100%, you might notice that the marquee is in line with the surrounding text. Link to comment https://forums.phpfreaks.com/topic/134871-a-dedication-script-need-help/#findComment-702269 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.