Just to get really into the semantics of markup ;)... I'd suggest
using a list, here's DC's modified code for that...

<cfset noNews = news.recordCount />
<cfset halfNews = int(news.recordCount/2) />

<div id="news">
<cfoutput query="news">
   <cfif news.currentRow eq 1>
       <ol id="news-left">
   </cfif>

  <li>#news.item#</li>

   <!--- Output halfway news list --->
   <cfif news.currentRow eq halfNews>
       </ol>

       <ol id="news-right">
   </cfif>

   <!--- Close off list if last record --->
   <cfif news.currentRow eq news.recordCount>
       </ol>
   </cfif>
</cfoutput>
</div>

On Mon, 9 Aug 2004 16:36:45 +0100, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> I wouldn't argue with you over it tho Pascal... principal is the same
> and can be modded to make it do what was required :)
>
> --
> dc
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to