Re: Text Color

From: Date: Fri, 29 Feb 2008 15:21:50 +0000
Subject: Re: Text Color
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-270736@lists.php.net to get a copy of this message
On Feb 29, 2008, at 10:07 AM, Richard Heyes wrote:
echo "<TR><TD>".$myrow["char_name"]."<TD>".$myrow["char_level"]."<TD>".$class["class"]."<TD>".$myrow["kara"]."<TD>".$myrow["karateam"]."<TD>".$myrow["karasub"];
Either CSS styling or the dreaded HTML "<font color=\"#FF0000\" />".$myrow['char_name']."</font>" tags.
But you should use CSS: echo '<tr><td style="color: red">' ...
But if you're going to use CSS.. it would be better for managing it to do it as a style sheet: <style> .red { color: red; } </style> echo '<tr><td class="red">'; Just my opinion :)
--Richard Heyes Employ me: http://www.phpguru.org/cv --PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-- Jason Pruim Raoset Inc. Technology Manager MQC Specialist 3251 132nd ave Holland, MI, 49424-9337 www.raoset.com japruim@raoset.com

« previous php.general (#270736) next »