I have a <div> element on a page with SVG. Sometimes during program execution, the size and position of the containing div changes. Unfortunately, SVG follows the Div, but does not scale with it. How can I get SVG bigger or smaller when resizing the containing element?
I use the Raphael library to create SVG and jQuery for events and DOM manipulations.
source share