I have an array "$a" and the below code in my view displays all the
elements in a single column. How do I display them into 5 columns?

I am not sure if it should be done thru ruby code, or html tags or CSS.
Please suggest. thanks

<ul>
 <% for w in $a %>
 <%= w %>
 <% end %>
</ul>

-- 
Posted via http://www.ruby-forum.com/.

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to