css - How to get radiobutton with text on the same line? -


searched place , tried options suggested on different answeres, such "display: block", float:left etc, cant manage them on same line.

here code plugin have:

<div class="gift-certificate sc_info_box">                                     <h3>mottagare av presentkort</h3>                                                                                     <div class="gift-certificate-show-form">                                             <p>vem vill du skicka ditt presentkort till?</p>                                             <ul class="show_hide_list" style="list-style-type: none;">                                                 <li><input type="radio" id="hide_form" name="is_gift" value="no" checked="checked"> <label for="hide_form">till mig!</label></li>                                                 <li>                                                 <input type="radio" id="show_form" name="is_gift" value="yes"> <label for="show_form">till nĂ¥gon annan!</label>                                                 <ul class="single_multi_list" style="list-style-type: none;">                                                 <li><input type="radio" id="send_to_one" name="sc_send_to" value="one" checked="checked"> <label for="send_to_one">send 1 person</label>                                                 <input type="radio" id="send_to_many" name="sc_send_to" value="many"> <label for="send_to_many">send different people</label></li>                                                 </ul>                                                 </li>                                             </ul>                                         </div>                                 <div class="gift-certificate-receiver-detail-form">                                 <div class="clear"></div>                                 <div id="gift-certificate-receiver-form-multi">                                                         <div class="form_table">                         <div class="email_amount">                             <div class="amount"><p class="coupon_amount_label"><span class="amount">1,500&nbsp;kr</span></p></div>                             <div class="email"><input class="gift_receiver_email" type="text" placeholder="email address..." name="gift_receiver_email[9216][]" value=""></div>                         </div>                         <div class="message_row">                             <div class="sc_message"><textarea placeholder="message..." class="gift_receiver_message" name="gift_receiver_message[9216][]" cols="50" rows="5"></textarea></div>                         </div>                     </div>                                         </div>                 <div id="gift-certificate-receiver-form-single">                     <div class="form_table">                         <div class="email_amount">                             <div class="amount"><p class="coupon_amount_label"><span class="amount">1,500&nbsp;kr</span></p></div>                             <div class="email"><input class="gift_receiver_email" type="text" placeholder="mottagarens e-mail..." name="gift_receiver_email[0][0]" value=""></div>                         </div>                         <div class="message_row">                             <div class="message"><textarea placeholder="ditt meddelande..." class="gift_receiver_message" name="gift_receiver_message[0][0]" cols="50" rows="5"></textarea></div>                         </div>                     </div>                 </div>                                                  </div></div> 

this displays:
this displays:

so question is: how go text next button on 2 rows? need work on mobiles aswell if possible.

make css:

li input[type="radio"], li label {     display: inline-block; } 

their default layout display: block puts them on own line regardless have placed them within 1 tag.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -