Hi,
I'm using an Inkscape svg picture inline in an .html
svg: prefix in xhtml tags
Re: svg: prefix in xhtml tags
Maybe I could frame this question differently:
The reason I want to have my svg inline is because I have found that when the browser window is resized the picture is redrawn to fit, which is what I want. I find that importing by using the <object><img> 'belt and buckle' draws the svg to fit the window fine but that if it is then resized smaller, browsers do not redraw to fit the new size but rather they add scrollbars. Not what I want.
So my question becomes, can I import a picture into a page without inlining the markup and still have it redraw to fit the screen on a resize?
Thanks for reading; hope I'm making sense.
The reason I want to have my svg inline is because I have found that when the browser window is resized the picture is redrawn to fit, which is what I want. I find that importing by using the <object><img> 'belt and buckle' draws the svg to fit the window fine but that if it is then resized smaller, browsers do not redraw to fit the new size but rather they add scrollbars. Not what I want.
So my question becomes, can I import a picture into a page without inlining the markup and still have it redraw to fit the screen on a resize?
Thanks for reading; hope I'm making sense.
Re: svg: prefix in xhtml tags
I don't have an answer - but maybe you can find more information in the recent posts about 'SVG and Browser Support' in Tavmjong Bah's blog (the author of "Inkscape: Guide to a Vector Drawing Program"):cluesome wrote:my question becomes, can I import a picture into a page without inlining the markup and still have it redraw to fit the screen on a resize?
Re: svg: prefix in xhtml tags
Thanks, quick scan looks of use to my problem; will have a proper look shortly...