Ok I can't figure out whats wrong.
Here is my code first -
<table width="550" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2" valign="top">
<img src="/images/x.gif" width="554" height="216">
</td>
</tr>
<cfif GetProductIntro.RecordCount EQ 0>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2"><h3>Under Construction</h3></td>
</tr>
<cfelse>
<cfoutput query="GetProductIntro">
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td width="30%"> </td>
<td width="70%" align="left" bgcolor="##CCCCCC">#GetProductIntro.Cat#</td>
</tr>
<tr>
<td width="30%" align="center"><img src="/images/8-bar.jpg" width="100" height="100"></td>
<td width="70%" align="left" valign="top">#GetProductIntro.Content#</td><!-- THIS IS THE CONTENT--->
</tr>
<tr>
<td colspan="2"> </td>
</tr>
</cfoutput>
</cfif>
</table>
When I execute this code. My Content which is coming from a database, does not wrap in the TD ...So the Content just makes my cell super wide and it looks nasty. I have looked at other posts CSS doesn't seem to work. Does anyone know why my text does not wrap and everything shows up in a line. Also if the text is not dynamic it wraps fine! I am using coldfusion and SQL.Please help. Thanks
Here is my code first -
<table width="550" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2" valign="top">
<img src="/images/x.gif" width="554" height="216">
</td>
</tr>
<cfif GetProductIntro.RecordCount EQ 0>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2"><h3>Under Construction</h3></td>
</tr>
<cfelse>
<cfoutput query="GetProductIntro">
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td width="30%"> </td>
<td width="70%" align="left" bgcolor="##CCCCCC">#GetProductIntro.Cat#</td>
</tr>
<tr>
<td width="30%" align="center"><img src="/images/8-bar.jpg" width="100" height="100"></td>
<td width="70%" align="left" valign="top">#GetProductIntro.Content#</td><!-- THIS IS THE CONTENT--->
</tr>
<tr>
<td colspan="2"> </td>
</tr>
</cfoutput>
</cfif>
</table>
When I execute this code. My Content which is coming from a database, does not wrap in the TD ...So the Content just makes my cell super wide and it looks nasty. I have looked at other posts CSS doesn't seem to work. Does anyone know why my text does not wrap and everything shows up in a line. Also if the text is not dynamic it wraps fine! I am using coldfusion and SQL.Please help. Thanks