The difference between the two SVG files is that canvas_norelief contains a viewBox attribute in the top-level svg element. Some viewers require this in order to make the image scalable. I don't know how to add viewBox from within Inkscape.
On Fri, 21 Dec 2007, Frank Gilroy wrote:
Hi Folks,
This is probably a newbie kind of a question but I couldn't find the answer in the docs or FAQ after 30 minutes or so of looking.
When I create an drawing and save it as .svg the image doesn't scale when I open it in Mozilla Firefox or embed it in HTML.
Examples:
The following image is in SVG format and scales when the browser is resized (I don't know what was used to create this SVG):
http://www.carto.net/papers/svg/samples/canvas_norelief.svg
The following image was created in Inkscape and doesn't scale:
http://frankgilroy.com/uploaded_images/bootstrapgirl.svg
Is there a simple setting that will update the XML in the SVG file to allow for this scaling?
Frank