我在一行内容中选择了以下内容,以便更好地在右侧对齐/间隔:
即选择"License Quantity“旁边的。我想将数字更多地移到右侧,这样看起来更合适。
代码如下:
<div class="field-group">
<div style="text-align: center;" class="field field--with-dropdown clearfix">
<label for="field-qty">License Quantity</label>
<select style="text-align: center; margin-left: 25em" id="field-qty-num" onchange="qty_change()">
<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>
</select>
</div>
<div class="field">
<label for="field-phone">User Training Manual</label>
<input id="field-phone" type="text" class="form-control" style="text-align: center;" placeholder="Included for free!" readonly />
</div>
<div class="field">
<label for="field-phone">User Training Videos</label>
<input id="field-phone" type="text" class="form-control" style="text-align: center;" placeholder="Included for free!" readonly />
</div>
<div class="field">
<label for="field-phone">6 Months Tech Support</label>
<input id="field-phone" type="text" style="text-align: center;" class="form-control" placeholder="Included for free!" readonly />
</div>
</div>
https://stackoverflow.com/questions/51274044
复制相似问题