--- Brian E Boothe <[EMAIL PROTECTED]> wrote:

> i would like the Rows for my Column "Status" to change colors depending 
> on whether its PENDING / RESOLVED /OPEN /
> my Code for that now is
>   <td bgcolor="#00FF33"><font color="#003399" size="2"><?php echo 
> $row_Recordset1['resolved']; ?></font></td>
>     in which is all green ,         can anyone Help me out             
> thanks

Use CSS.  Define classes for each status level you want to use in the <head>
portion of the HTML document:

<style type='text/css'>
.resolved { color: #003399; background: #00ff33; }
.pending  { ... }
.open     { ... }
</style>

In your <td> tag add class='resolved' or another value as appropriate.  You can
make this value the output of a PHP variable, of course.

Choose color combinations which look god on both Windows and Macs since there
are differences in color rendering.  Keep in mind that certain combinations of
colors are difficult for users who are color blind (ie blue-green, red-green).

James 

Reply via email to