I\'m currently working with a Swiss map in SVG format. The In Chromium (Linux), ever
tag is directly embedded inside a
You should set height
and width
to your parent div
and then set the svg
both height and width to 100%
:
HTML:
<div id="map" style="height: 500px;width:600px;">
SVG:
<svg
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
version="1.0"
id="svg_main" style="height: 100%;width: 100%">
Check this code: http://jsfiddle.net/Kgs6J/