On 19 June, 06:50, Nike Mike <rails-mailing-l...@andreas-s.net> wrote: > <tr> > <td width="50%" style="border-left: solid 1px #ebeae9;"> > <a href="#">Headline tortor sit amet tellus interdum </a> > </td> > <td width="50%" style="border-right: solid 1px #ebeae9;"> > <a href="#">Headline tortor sit amet tellus interdum </a> > </td> > </tr> > <tr> > <td width="50%" style="border-left: solid 1px #ebeae9; > border-bottom:1px solid #ebeae9;"> > <a href="#">Headline tortor sit amet tellus interdum </a> > </td> > <td width="50%" style="border-right: solid 1px #ebeae9; > border-bottom: solid 1px #ebeae9;"> > <a href="#">Headline sit amet tellus interdum </a> > </td> > </tr> > -- > Posted viahttp://www.ruby-forum.com/.
Hi, I'm not sure why you need a cycle helper for this. Each <tr> is identical, it's just the style of the two <td>s within the row that change. A standard iteration would be fine over each row. Regards Robin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---