Re: Text Color

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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@xxxxxxxxxx

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux