I am trying to cover a dynamic number of radio buttons across the width of a div without using tables (if possible). I donβt want their clusters to the left of the div, to the right or in the middle, but I want them to be evenly distributed in width, with spaces the same on both sides of each button.
<div style='width:100%'> <input type="radio"> <input type="radio"> <input type="radio"> <input type="radio"> </div>
Can this be done in CSS? If not, is it better to use a table?
source share