Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @img = "<img src='#{@question.thumb_url}' width='370px'/><img src='#{SITE_PATH}images/playbutton.png' style='z-index:100;top:130px;left:190px;position:absolute;opacity:0.8'/>"
- <%= simple_format @img%>
- the problem is my style is not getting applied and it only gives me the img tag with src, why is that?
Add Comment
Please, Sign In to add comment