So I''m making a user profile page for my app. However I want the
user''s avatar to have an inset white box-shadow. Therefore using
<img /> isn''t an option since it doesn''t support inset shadows
(or at least
not in Chrome). So instead I''m using a <div> with some inline css
to
set the image. Here''s kinda what I want but of course it wont work.
<div id="avatar" style="<%= current_person.avatar
%>"></div>
Can anyone point me in the right direction for doing this?
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.