<% @step.each do |processdef| %> <% processdef.step_count.times do %> <td width="10%" background="/images/step1_white.jpg"> </td> <% end %> <%end%> that background step1_white.jpg image is not displaying images will displays only if i use this <%= image_tag("top_band_production_uaxe.jpg" , :width=>"936" , :height=>"101") %> why? and if i want to set background image inside <%= %> this what i have to do -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Your problem is likely with MS and how IE handles (or doesn''t handle) background images, not with RoR. The next most likely problem is that you''re using tables. Try it in a sandbox app using <div> containers instead of tables. hth, Bill --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Bill Walton wrote:> Your problem is likely with MS and how IE handles (or doesn''t handle) > background images, not with RoR. The next most likely problem is that > you''re using tables. Try it in a sandbox app using <div> containers > instead > of tables. > > hth, > BillIt doesnt work on OSX either (using safari) i had to use the image_tag... i guess is womthing on the .rhtml file... -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---