0
我有下面的代碼,我試圖使用引導程序的類來調整文本輸入元素的大小。但是,我無法將尺寸縮小。我希望它在桌面上變小,而不是佔用大量的空間。使用引導程序的類在表內輸入文本的大小
<div class="container White_BG">
<div class="row" style="margin-left:0;margin-right:0;">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<h1>Quickly place your order with this form.</h1>
<h2>Please enter the item numbers that you wish to order; once you add to the cart, then you will be able to change the quantity of those items ordered.</h2>
<div class="table-responsive">
<form method="post" name="QuickOrderMulti">
<table class="table table-bordered table-condensed table-hover">
<tr>
<th>Item #</th>
<th>Quantity</th>
<th>Description</th>
<th>Price</th>
<th>Subtotal</th>
</tr>
<tr>
<td>
<div class="col-lg-2">
<input type="text">
</div>
</td>
<td>
<input type="text">
</td>
<td>
</td>
<td>
</td>
<td>
</td>
</tr>
</table>
</form>
</div>
</div>
</div>
</div>
的違規行爲:
<td>
<div class="col-lg-2">
<input type="text">
</div>
</td>
我使用col-lg-2
,使之只佔用2分格列試過,所以也許它會是較小的。但沒有這樣的運氣。
好的,這使得我的輸入要小得多。但是整個領域仍然很大。我試圖縮小甚至包含輸入的整個區域。正如你可以在這裏看到的:http://i.imgur.com/J0S2Waq.png –
這可能與你的和
用戶Firebug或Chrome(鼠標右鍵單擊) - 顯示元素。 然後你可以嘗試女巫班或Id你需要改變。 https://developers.google.com/chrome-developer-tools/docs/elements?hl=de – user1551496
相關問題