QUOTE(sansclue @ 25 Mar, 2009 - 07:58 AM)

Do a view -> source to see the actual html that is being generated. It must be different than your hard coded value somehow. Because there is no reason a hard coded color:
<td bgColor="#0033FF">....
... should work differently than the same html generated by CF. You might also try using CSS instead of "bgColor". ie Create a class for each color, then use the "class" in your <td> cells instead.
All the code looks fine except for one irrevelevant part that I fixed. The correct color is there. Like I said before it works fine in FireFox so it has something to do with when the HTML generated by ColdFusion hits IE. Works fine when I do CSS
CODE
<cfoutput><tr><td width="100%" <cfif isDefined('getcatcolor')>style="background-color:###getcatcolor.color#; "</cfif>>#getAppointments.subject#</td></tr></cfoutput>
That is really weird.
CODE
<table border="1" width="98%" height="100%">
<tr>
<th colspan="7">
<a href="monthview.cfm?datelast={ts '2009-02-01 00:00:00'}" style="text-decoration:none; "><<</a>
March 2009
<a href="monthview.cfm?datenext={ts '2009-04-01 00:00:00'}" style="text-decoration:none; ">>></a>
</th>
</tr>
<tr>
<th width="14%">
Sunday
</th>
<th width="14%">
Monday
</th>
<th width="14%">
Tuesday
</th>
<th width="14%">
Wednesday
</th>
<th width="14%">
Thursday
</th>
<th width="14%">
Friday
</th>
<th width="14%">
Saturday
</th>
</tr>
<tr>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="1" border="0">
<tr>
<td>
1
</td>
</tr>
</table>
</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="1" border="0">
<tr>
<td>
2
</td>
</tr>
</table>
</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="1" border="0">
<tr>
<td>
3
</td>
</tr>
</table>
</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="1" border="0">
<tr>
<td>
4
</td>
</tr>
</table>
</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="1" border="0">
<tr>
<td>
5
</td>
</tr>
</table>
</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="1" border="0">
<tr>
<td>
6
</td>
</tr>
</table>
</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="1" border="0">
<tr>
<td>
7
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="1" border="0">
<tr>
<td>
8
</td>
</tr>
</table>
</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="1" border="0">
<tr>
<td>
9
</td>
</tr>
</table>
</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="1" border="0">
<tr>
<td>
10
</td>
</tr>
</table>
</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="1" border="0">
<tr>
<td>
11
</td>
</tr>
</table>
</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="1" border="0">
<tr>
<td>
12
</td>
</tr>
</table>
</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="1" border="0">
<tr>
<td>
13
</td>
</tr>
</table>
</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="1" border="0">
<tr>
<td>
14
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="1" border="0">
<tr>
<td>
15
</td>
</tr>
</table>
</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="1" border="0">
<tr>
<td>
16
</td>
</tr>
</table>
</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="1" border="0">
<tr>
<td>
17
</td>
</tr>
</table>
</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="1" border="0">
<tr>
<td>
18
</td>
</tr>
</table>
</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="1" border="0">
<tr>
<td>
19
</td>
</tr>
</table>
</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="1" border="0">
<tr>
<td>
20
</td>
</tr>
</table>
</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="1" border="0">
<tr>
<td>
21
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="1" border="0">
<tr>
<td>
22
</td>
</tr>
</table>
</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="1" border="0">
<tr>
<td>
23
</td>
</tr>
</table>
</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="1" border="0">
<tr>
<td>
24
</td>
</tr>
<tr><td width="100%" bgcolor="#9900FF ">Build CRM</td></tr>
</table>
</td>
<td bgcolor="yellow" valign="top">
<table width="100%" cellpadding="0" cellspacing="1" border="0">
<tr>
<td>
25
</td>
</tr>
</table>
</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="1" border="0">
<tr>
<td>
26
</td>
</tr>
</table>
</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="1" border="0">
<tr>
<td>
27
</td>
</tr>
</table>
</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="1" border="0">
<tr>
<td>
28
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="1" border="0">
<tr>
<td>
29
</td>
</tr>
</table>
</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="1" border="0">
<tr>
<td>
30
</td>
</tr>
</table>
</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="1" border="0">
<tr>
<td>
31
</td>
</tr>
</table>
</td>
<td colspan="#endPad#"> </td></tr>
</table>
This post has been edited by xheartonfire43x: 25 Mar, 2009 - 08:45 AM