I am looking to do this but do it vertically instead of horizontally. I have already tried the solution here but I want the child divs to equally space over the entire height of the container div - that solution only centers the divs without expanding the space in between them to use the entire height of the container. I am willing to use Javascript, but would prefer an HTML/CSS only solution. I've looked briefly into the flexbox, but I was scared off by backwards compatibility issues.
Some basic code:
<div id="parent">
<div id="1" class="child"></div>
<div id="2" class="child"></div>
<div id="3" class="child"></div>
</div>
Should render with div1 at the extreme top of the parent, div 2 at the extreme bottom of the parent, and div3 centered in the middle, and ideally I could add a variable number of additional child divs and the spacing would automatically adjust.
Any suggestions? Should I just use the flexbox and not worry about supporting older browsers?