"dropbox and radio buttons"
Bootstrap 3.3.0 Snippet by yanivsasson

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row" dir="rtl"> <form class="form-horizontal"> <fieldset> <!-- Form Name --> <legend>Form Name</legend> <!-- Select Basic --> <div class="control-group control-group1"> <label class="control-label" for="selectbasic">אני רוצה לתרום</label> <div class="controls selection"> <select id="selectbasic" name="selectbasic" class="input-xlarge"> <option>1</option> <option>2</option> <option>3</option> <option>4</option> <option>5</option> <option>6</option> <option>7</option> <option>8</option> <option>9</option> <option>10</option> </select> </div> </div> <!-- Multiple Radios (inline) --> <div class="control-group"> <label class="control-label" for="radios"></label> <div class="controls"> <label class="radio inline" for="radios-0"> <input type="radio" name="radios" id="radios-0" value="1" checked="checked"> <span>בכרטיס אשראי</span> </label> <label class="radio inline" for="radios-1"> <input type="radio" name="radios" id="radios-1" value="2"> <span>PayPal</span> </label> <label class="radio inline" for="radios-2"> <input type="radio" name="radios" id="radios-2" value="3"> <span>בהעברה בנקאית</span> </label> <label class="radio inline" for="radios-3"> <input type="radio" name="radios" id="radios-3" value="4"> <span>בצ’ק</span> </label> </div> </div> <!-- Button --> <div class="control-group"> <label class="control-label" for="singlebutton"></label> <div class="controls"> <button id="singlebutton" name="singlebutton" class="btn btn-primary">Button</button> </div> </div> </fieldset> </form> </div> </div>
.control-group1{ text-align: center; } label.control-label { display: inline-block; margin-left: 20px; } .controls.selection { display: inline-block; } label.radio { display: inline-block; margin-left: 40px; } .radio span { padding-right: 30px; }

Related: See More


Questions / Comments: