html - How to align label and radio button? -


when read this... still haven't solved issue,

i'm trying align label , radiobutton, have tried alot of "solutions", nothing works. have no css on radio buttons created myself.

output: http://prntscr.com/5am898

my code:

<div class="row">    <div class="col-md-12">        <div class="btnradio">            <label class="radio-inline" for="gal2015lbl">                <input name="galtab" id="gal2015" value="2015" type="radio">2015            </label>            <label class="radio-inline" for="gal2014lbl">                <input name="galtab" id="gal2014" value="2014" type="radio">2014            </label>            <label class="radio-inline" for="gal2013lbl">                <input name="galtab" id="gal2013" value="2013" type="radio">2013            </label>            <label class="radio-inline" for="gal2012lbl">                <input name="galtab" id="gal2012" value="2012" type="radio">2012            </label>            <label class="radio-inline" for="galotherlbl">                <input name="galtab" id="galother" value="anders" type="radio">and            </label>        </div>    </div> </div> 

try placing input outside label.

<label class="radio-inline" for="galotherlbl">     , </label> <input name="galtab" id="galother" value="anders" type="radio"> 

Comments

Popular posts from this blog

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -