On Fri, Feb 29, 2008 at 10:21 AM, Jason Pruim <[EMAIL PROTECTED]> 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 :)

Let's just get all purist and go back to the class="highlight" so we
don't find ourselves a year later with a stylesheet that includes

.red {
    color: green;
}

:-) OK, so it's Friday.

Andrew

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

Reply via email to