Quote:
Originally Posted by what
But when I have an SVG image with paths it always sits at the left edge of the screen. The following image doesn't get centered:
Code:
<svg height="100" width="100">
<circle cx="50" cy="50" r="40" stroke="black" stroke-width="3" fill="red" />
</svg>
Is that because of poor SVG support in Kindle Previewer, or am I doing something wrong?
|
I think it is correct the image is on the left edge. Try:
Code:
<svg width="100%"
viewBox="0 0 100 100">
<circle cx="50" cy="50" r="40" stroke="black" stroke-width="3" fill="red" />
</svg>
to zoom and use all the width.