Svg in rhtml

hello

Is there a way to embed svg file in rhtml page. I tried to use the
object
tag but it never loads

Thanks

Hanan M. [email protected] wrote:

Is there a way to embed svg file in rhtml page. I tried to use the object
tag but it never loads

if your page is written as xhtml page (then xml), it’s possible with
rhtml), no prob to embed an svg directly (inline), see an example here :

http://81.57.96.20/SVG/inline_1_portable.xhtml

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