At 10:21 AM -0500 2/29/08, Jason Pruim wrote:
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 :)
And a good one -- other than not putting them in the html, but rather
in a style sheet.
I see no problem whatsoever in using css to do that and --
.bold
{
font-weight: bold;
}
.floatRight
{
float: right;
}
-- other such obvious style elements. At least those are pretty self
explanatory.
If you want to get specific, then start naming your classes and id's
to specific things, like:
#mainTitle
{
color: red;
font-weight: bold;
float: right;
}
Do your best to keep all languages separate.
Cheers,
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php