Why does my repeat region go horizontal instead of vertical?

Posted on 2006-04-21
Last Modified: 2013-12-24
I have a 2-column table that is defined as a repeat region.
The first column is defined to be {rs_StepsDetail:StepNumber}
The second column is defined to be {rs_StepsDetail:StepDetails}
I have three steps for the particular record that I am looking at.
They all display horizontally across the page instead of vertically (i.e., instead of one row per step).

Here's the code:

            <cfoutput query="rs_StepsDetail">
              <td width="50" valign="top"><img src="../../images/gifs/20x1inv.gif" width="20" height="1" /><span class="plaintext">#rs_StepsDetail.StepNumber#</span><img src="../../images/gifs/20x1inv.gif" width="20" height="1" /></td>
              <td width="650" valign="top"><span class="plaintext">#rs_StepsDetail.StepDetails#</span></td>
Question by:alicia1234
    LVL 7

    Accepted Solution

    Your <tr> and </tr> are *outside* your <cfoutput> block.  Put them inside if you want each <td> block on separate row.

    Author Comment

    Thanks ... I actually just figured that out!
    But your confirmation is good. At least I know that that is what the problem was!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Network it in WD Red

    There's an industry-leading WD Red drive for every compatible NAS system to help fulfill your data storage needs. With drives up to 8TB, WD Red offers a wide array of solutions for customers looking to build the biggest, best-performing NAS storage solution.  

    Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
    When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now