Link to home
Start Free TrialLog in
Avatar of TheFish23
TheFish23

asked on

Output a dynamic layout

My query outputs 3 across and 2 down with a next 6 underneath etc. I would like to add a few borders to the table cells. Much like corbis.com. I am snagged because the cells repeat so a style on one will repeat itself and I want to ad individual styles to each cell (6 of them)
I don't think I have explained this too well but this link will clear it up:
http://store.corbis.com/search/productsearch.asp?sc=&search=soccer+ball&hidKeywordSearch=&hidSearchCategory=1&pf=DIGPIC&navid=create%2Fdigitalpictures%2Fphotography&hidIsNewSearch=TRUE
Avatar of CF_Spike
CF_Spike

Can you post the code for what you have done so far. It's a bit hard to visualize where the problem is.

Spike
Avatar of TheFish23

ASKER

<table width="80%" border="0" cellpadding="0" cellspacing="0">
<tr>
  <CFOUTPUT query="mavroslist" startrow="#start#" maxrows="#display#">
<CFIF (CurrentRow MOD 3) IS 1>
</TR>
<TR valign="baseline">
</CFIF>
               
<TD class="thumb1">
<div align="center">
#trim(item)#
<br>


<img src="#config.ImagePathURL#/small/#imagethumb#" border="0"></a></div>

</cfoutput>
</td>

</TR>
</TABLE>
ASKER CERTIFIED SOLUTION
Avatar of CF_Spike
CF_Spike

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
That looks like the one, thanks Spike, I have to go now but will try it tomorrow and accept the comment.
thanks again
 
Spot on CF_Spike,
Thanks