On Thu, 2017-02-16 at 13:56 +0800, Kai Hendry wrote:
Hi there,
Given an SVG that seems bounded to 100x100 which looks small when embedding into a Web page, how do I alter the SVG from Inkscape to make it take 100% of the space?
E.g. https://s.natalian.org/2017-02-16/Compute_AWSLambda_LambdaFuncti on.svg
I did try a few things in the Document Properties without success. Scale seemed to move the object around instead of actually scaling the graphic. I am using Inkscape 0.92 as packaged by Archlinux.
The most common way to set the size of the SVG on a web page is to use CSS. Set the width and/or height on the HTML element your using to embed the SVG.
For an SVG solution (where the HTML is using the natural SVG size), set the size of the drawing in the Document Properties dialog (File-
Document Properties, Page tab.) And then adjust the 'viewBox' back to
the original value using the Scale entry box.
Tav