I have two SVGs I want side-by-side within its container:
HTML
<div id="container">
<svg viewBox="100 185 275 655"></svg>
<svg viewBox="100 185 275 655"></svg>
</div>
<br>
<div id="anotherdiv">Another div</div>
CSS
#container{width:100%;}
svg{width:50%;float:left;}
As of now, the div with id anotherdiv
will spawn on the exact same place where the container starts. It looks like the container does not care about the height both SVGs bring with them. How can I solve this? Thanks!