Is there any way to get all children of a parent to be the same width without having the parent be a block level element?
Basically I want all the "columns" in the jsfiddle to have the same width but I don't want the container to span the entire width of the container, only the necessary width.
Edit: I am looking for a way to handle a dynamic number of children
Edit2: Updated the fiddle and code to make widths more obvious
Thanks!
HTML
<div class="container">
<div>
Short
</div>
<div>
SomethingSuperLong
</div>
<div>
Ok
</div>
</div>