Our web application includes a dynamically generated SVG graphic that sometimes becomes too wide and exceeds the boundaries of the HTML content.
Although the header is set to 100% width, this does not account for the size of the SVG. When inspecting with Firebug, we noticed that the containing element of the SVG is not large enough, causing the HTML page to have a limited view of its actual width. Meanwhile, the SVG itself is much wider.
Is there a way to make sure the containing element expands to fit the entire size of the SVG image?