can't do bgcolor within cfset tag
Posted on 2006-05-20
I have this code (I have deleted some lines I think are uninvolved), and my problem is that if I enter a bgcolor on the td cells, I get an error on the webpage.:
<LINK rel=STYLESHEET HREF='../stylesheet.css' TYPE='text/css'>
<TABLE WIDTH='600' BORDER='0' CELLSPACING='0' CELLPADDING='0' ALIGN='CENTER'>
<TR><td width="80" height="20" align="left" bgcolor="Blue"><img src='#request.webroot#/images/headlines/receipt/space.gif' width='80' height='20'></td>
<td height="20" colspan="2" bgcolor="Blue"><IMG SRC='#request.webroot#/images/headlines/receipt/bill_to.gif' WIDTH='160' HEIGHT='20'></td>
<td height="20" colspan="2" bgcolor="Blue"><IMG SRC='#request.webroot#/images/headlines/receipt/ship_to.gif' WIDTH='160' HEIGHT='20'></td>
The error I see is:
attributes.fuseaction: final_receipt message: Invalid CFML construct found on line 293 at column 24.
detail: ColdFusion was looking at the following text:
The CFML compiler was processing:
a cfset tag beginning on line 275, column 2.
Any ideas? Seems like the cfset tag doesn't ilke the bgcolor parameter. Thanks!