I have eleven dots arrange horizontally using CSS. How can I evenly/equally distribute spacing between elements (mine are elements) based on the wi
Slight cheat...using JS
See my JSfiddle
var childArray = document.getElementById('bullets').children; left = 190; for (var i = 0; i < childArray.length; i++) { var cur_left = (i*left).toString(); childArray[i].style.left = cur_left+"px"; }