How can I make the “A, Google” record also appear in the blue square, like “B, Yahoo!”?
The fact is that I ask this code in PHP:
<body> <?php while($row = mysql_fetch_assoc($result)) { printf(" <table cellspacing='10'> <tr> <td>%s</td> <td>%s</td> </tr> </table><br />", $row['title'], $row['link']); } ?> </body>
And the CSS code for TD is in the jS file:
$('td').css({ 'height' : grid_height, 'width' : grid_width, 'background-color' : '#69F' }); $('table').css({ 'position' : 'absolute', 'left' : '20px', 'top' : 0, 'bottom' : 0, 'right' : 0, 'margin-top' : margin_top });