Image source problem - help me

<% @step.each do |processdef| %>
<% processdef.step_count.times do %>


<% 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

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

containers
instead
of tables.

hth,
Bill

Bill W. 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

containers
instead
of tables.

hth,
Bill

It doesnt work on OSX either (using safari) i had to use the
image_tag… i guess is womthing on the .rhtml file…

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs