[SOLVED]PHP Textbox Onmouseover (Style Problem?)
Posted: Sun Jun 29, 2008 7:39 pm
I created a textbox that appears once you hover over a play button displaying the game's description. I got the text to center, but everything in the textbox seems indented and pushed to the right.

For an example, visit: http://sebbyarcade.com/backup/Arcade.php

Code: Select all
echo"<div id='popup$g[0]' style='position:absolute;border:1px solid #333;background-color:#DDD;color:#000;width=175px;display:none;'>
<ol>
<center>$g[2]</center>
</ol></div><br>";
?>
<a href='Arcade.php?play=<?php echo $g[0] ?>' onmouseover='document.getElementById("popup<?php echo $g[0] ?>").style.display=""' onmouseout="document.getElementById('popup<?php echo $g[0] ?>').style.display='none'" onmousemove="s=document.getElementById('popup<?php echo $g[0] ?>').style;s.top=document.body.scrollTop+event.clientY+2;s.left=document.body.scrollLeft+event.clientX-152;">[PLAY]</a>
<?PHP