relyt
02-01-2003, 11:28 PM
how do i change the text color in the following section of my script:
echo "<h2>Vote Results:</h2>";
echo "<TABLE CELLSPACING=2 CELLPADDING=0 BORDER=0>";
echo "<tr><th>Vote</th><th>Percentage</th><th>Total</th></tr>";
while (list($key, $val) = each( $ANSWER)) {
$percent = $file_array[$key] * 100 / $total;
$percent_int = floor($percent);
$percent_float = number_format($percent, 1);
$tp += $percent_float;
echo "<tr><td> $ANSWER[$key] </td><td><img height=9 src=\"$IMG_DIR_URL/vote_left.gif\"><img height=9 width=\"$percent_int\" src=\"$IMG_DIR_URL/vote_middle.gif\"><img height=9 src=\"$IMG_DIR_URL/vote_right.gif\"> $percent_float % </td><td>$file_array[$key]</td></tr>";
}
echo "</TABLE><br>";
the script can been seen at www.warpcell.com/php_poll.php i want the text to be white and in font "Comic sans MS" how would i do that?
echo "<h2>Vote Results:</h2>";
echo "<TABLE CELLSPACING=2 CELLPADDING=0 BORDER=0>";
echo "<tr><th>Vote</th><th>Percentage</th><th>Total</th></tr>";
while (list($key, $val) = each( $ANSWER)) {
$percent = $file_array[$key] * 100 / $total;
$percent_int = floor($percent);
$percent_float = number_format($percent, 1);
$tp += $percent_float;
echo "<tr><td> $ANSWER[$key] </td><td><img height=9 src=\"$IMG_DIR_URL/vote_left.gif\"><img height=9 width=\"$percent_int\" src=\"$IMG_DIR_URL/vote_middle.gif\"><img height=9 src=\"$IMG_DIR_URL/vote_right.gif\"> $percent_float % </td><td>$file_array[$key]</td></tr>";
}
echo "</TABLE><br>";
the script can been seen at www.warpcell.com/php_poll.php i want the text to be white and in font "Comic sans MS" how would i do that?