我想布局以下列方式显示HTML控件水平
并不知我已经失败,它到现在我的控制。这里就是我试图至今:
<div style="">
<label style="float: left">
Products:</label>
<ol style="list-style: decimal">
<li id="product" style="margin-left: 10px">
<select style="float: left; width: 100px;">
<option>Product A</option>
<option>Product B</option>
<option>Product C</option>
</select>
<input type="text" value="40" style="width: 20px; float: left;" />
<a style="float: left;">Delete</a> </li>
<li id="product" style="margin-left: 10px">
<select style="float: left; width: 100px;">
<option>Product A</option>
<option>Product B</option>
<option>Product C</option>
</select>
<input type="text" value="40" style="width: 20px; float: left;" />
<a style="float: left;">Delete</a> </li>
</ol>
</div>
你能帮忙吗?谢谢。
你有一个错字。 http://jsfiddle.net/eJvQa/5/ – ANeves