Hi,
i have the follwing div inside <body>.
<div style="width:320px ;height: 480px">
<svg id="svg1">
</svg>
</div>
i want to fit a 640X480 svg inside this div. I tried this:
var paper=Snap("#svg1");
Snap.load("aa.svg",function(f){
paper.append(f);
});
paper.attr({
width:320,
height:480
})
But the svg is cut off from the right size.