How to Include SVG file as <input> background
Posted
by
eknown
on Stack Overflow
See other posts from Stack Overflow
or by eknown
Published on 2010-12-27T16:05:19Z
Indexed on
2010/12/27
18:54 UTC
Read the original article
Hit count: 258
I'm a newbie to the SVG world, just started experimenting today. I'm trying to create a mobile site where the primary graphics are all scalable, thus supporting all display resolutions.
I created an svg file for my input (currently type="image"), and suprisingly the results are as expected in my code editor (Coda). In testing (mobile Safari, DT Safari and DT FF), the input displays broken image path placeholder (the oath is correct because I can right-click to download the file).
How do I go about including my SVG file in the (html5) document?
© Stack Overflow or respective owner