I've got a <div>
element on page with SVG in it. Sometimes during program execution the size and position of containing div changes. SVG follows the div but doesn't scale along with it, unfortunately. How can I get SVG bigger or smaller when the size of containing element changes?
I use Raphael library for SVG creation and jQuery for events and DOM manipulation.