how to not break line in html input tag? -


i have 2 radio-type <input> (for gender) , want show them inline, not in 2 lines. i've tried display: inline; doesn't work.

the output goes this:

"male" first radio button "female" second radio button 

i need output this:

"male" first radio button   "female" second radio button 

also there lot of space between word "male" , radio button itself.

so there 2 question have:

  1. how not break line when use 2 or more input button?

  2. how manage space between radio button , word came after it?

here sample code use:

<div class="field-wrap">   <label>     gender<span class="req">*</span>   </label>  <input  type="radio" name="usex" value="male" checked>male  <input  type="radio" name="usex" value="female"> female</div> </div> 


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -