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:
how not break line when use 2 or more input button?
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
Post a Comment