we have 4 text and a drop-down list , each of which has different drop-down lists displayed in 4 lines , as shown below:

We want to display 2 text and a drop-down line in one line and the other 2 below this line.
I tried float : left ; , display :block; display: inline-blockfor me nothing worked, instead it looked like this:

If anyone wants, here is the link
<dt>
<label class="required">
<em>*size</em>
</label>
</dt>
<dd>
<div>
<select name="options[325]" id="select_325" class=" required-entry product-custom-option" title="" onchange="opConfig.reloadPrice()">
<option value="4397" price="30">Mini ( 16.98β³x12.00β³ ) +Rs30.00</option>
<option value="4398" price="40">Small ( 16.98β³x12.00β³ ) +Rs40.00</option>
</select>
</div>
</dd>
<dt>
<label class="required">
<em>*Frame style</em>
</label>
</dt>
<dd>
<div>
<select name="options[325]" id="select_325" class=" required-entry product-custom-option" title="" onchange="opConfig.reloadPrice()">
<option value="4397" price="30">Cherry</option>
<option value="4398" price="40">Natural</option>
</select>
</div>
</dd>
<dt>
<label class="required">
<em>*Frame style Size</em>
</label>
</dt>
<dd>
<div>
<select name="options[325]" id="select_325" class=" required-entry product-custom-option" title="" onchange="opConfig.reloadPrice()">
<option value="4397" price="30">0.75</option>
<option value="4398" price="40">1.25</option>
</select>
</div>
</dd>
<dt>
<label class="required">
<em>*Matboard</em>
</label>
</dt>
<dd>
<div>
<select name="options[325]" id="select_325" class=" required-entry product-custom-option" title="" onchange="opConfig.reloadPrice()">
<option value="4397" price="30">Black</option>
<option value="4398" price="40">White</option>
</select>
</div>
</dd>
CSS
<style>
.required {
float: left;
padding-right: 15px;
}
.product-options dd {
padding: 0 0 10px 0;
margin: 0 0 5px;
border-bottom: 1px solid #ededed;
}
dd {
display: block;
-webkit-margin-start: 40px;
}
</style>
user6619012
source
share