I have the following code. Everything works fine but when I output to the web page the first line appears to be right justified. I tried putting an align left in the <td> tag on the first line but that was even worse. I simply want to have a Image field with a caption text that is all data driven.

<td width="600" height="375" valign="top" bgcolor="ffffff">
          <cfoutput>
            <h3>#getpage.header#</h3>
<p>
<cfif #getpage.image# NEQ ''>
<div style="float:right;" >
<table width="275">
  <tr>
<td width="5"></td>
<td align="left"><img src="" border="0"><br>
<cfset formattedcap=replace(#getpage.image_cap#,"#chr(10)#","<BR>","ALL")><font size="1" color="000066" >#formattedcap# </font>
</td>
  </tr>
</table>
</div>
</cfif>
<cfset formattedcontent=replace(#getpage.content#,"#chr(10)#","<BR>","ALL")>#formattedcontent#
</p>
</cfoutput>
<p>&nbsp;</p>   
</td>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to