css - Html inline div alignment issue -
<div style="display:inline; margin-left:10%;"> <input type="radio"> <span></span> </div> <div style="display:inline; margin-left:10%;"> <input type="radio"> <span></span> </div> <div style="display:inline; margin-left:10%;"> <input type="radio"> <span></span> </div>
hello have layout similar 1 above. have other things in php file, irrelevant. example every new 5th element causes new line (br), make sense when see pictures.
here image representation of outcome:
this need :
how can possibly this, appreciate idea. cheers.
note: span tags contain text next radio buttons.
iyi akşamlar :) can remove div's, create class inside radio buttons , put them altogether container each row.
<div class="container"> <input type="radio" class="radyo"> <div class="text">a2</div> <input type="radio"class="radyo"> <div class="text">a3</div> <input type="radio"class="radyo"> <div class="text">a4</div> <input type="radio"class="radyo"> <div class="text">a5</div> </div> <div class="container"> <input type="radio"class="radyo"> <div class="text">beyler ben geldim</div> <input type="radio"class="radyo"> <div class="text">tamam</div> </div>
Comments
Post a Comment