Thanks Ian. It is still not right. This is the result:

<table align="center" border="0" cellpadding="0" cellspacing="2"
width="500">

<tr>

<td colspan="4" class="headertd" align="Left">

Caps

</td>

</tr>

<tr>

<td colspan="4" align="center">

<hr>

</td>

</tr>

<tr>

<td colspan="4" align="left" class="tdstyles">

Product Styles

</td>

</tr>

<tr>




<td>

<img src="" border="0">

</td>




</tr>

<tr>





<td>

<img src="" border="0">

</td>




</tr>

<tr>





<td>

<img src="" border="0">

</td>




</tr>

<tr>





<td>

<img src="" border="0">

</td>





<td>

<img src="" border="0">

</td>





<td>

<img src="" border="0">

</td>





<td>

<img src="" border="0">

</td>





<td>

<img src="" border="0">

</td>





<td>

<img src="" border="0">

</td>





<td>

<img src="" border="0">

</td>





<td>

<img src="" border="0">

</td>





<td>

<img src="" border="0">

</td>




</tr>

<tr>





<td>

<img src="" border="0">

</td>





<td>

<img src="" border="0">

</td>





<td>

<img src="" border="0">

</td>





<td>

<img src="" border="0">

</td>





<td>

<img src="" border="0">

</td>





<td>

<img src="" border="0">

</td>





<td>

<img src="" border="0">

</td>





<td>

<img src="" border="0">

</td>





<td>

<img src="" border="0">

</td>




</tr>

<tr>





<td>

<img src="" border="0">

</td>




</tr>

<tr>





<td>

<img src="" border="0">

</td>





<td>

<img src="" border="0">

</td>





<td>

<img src="" border="0">

</td>




</tr>

<tr>





<td>

<img src="" border="0">

</td>





<td>

<img src="" border="0">

</td>





<td>

<img src="" border="0">

</td>





<td>

<img src="" border="0">

</td>




</tr>

<tr>





</tr>

                                                                        

                                    </td>

                        </tr>

            </table>

  _____  

From: Ian Skinner [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 8:20 AM
To: CF-Talk
Subject: RE: CFOUTPUT Question

Your close, you don't want to close the new row inside your If statement.
And you will need a closing tag at the end.

<tr>

<cfoutput query="qSubCat1" group="Style">

                        <td>

                            <img src="" border="0">

                        </td>

                        <cfif  CurrentRow Mod 2 IS 1>

                               </tr>

                               <tr>

                      </cfif>

</cfoutput>
</tr>

You can also simplify your if statement if you like [cfif CurrentRow Mod 2].
A non zero value of an _expression_ always equates to true, and conversely a
zero value is false.

  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to