2
スタックオーバーフローの一般的な推奨事項をすべて含めましたが、input
のビットはtd
よりも少し下になります()。入力フィットを高さと幅に合わせる
キーCSSのオプションがdisplay:table-cell;
とwidth:100%;
重要ているように見える - 私はを削除した場合、それはOKです。
しかし、問題は、input
のheight
を保存する方法はtable-condensed
ですか?
td.zeon_input_table_cell input {
display: table-cell;
width: 100%;
background-color: transparent
}
td {
border: solid
}
<table id="formset" class="form table table-condensed zeon zeon-row-hover">
<thead>
<th>Column 1</th>
<th>Column 2</th>
</thead>
<tbody>
<tr class="row1">
<td class="zeon_input_table_cell">
<input id="id_form-0-id" name="form-0-id" type="hidden" value="1">
</td>
<td class="zeon_input_table_cell">
<input id="id_form-0-min_delivery_value" name="form-0-min_delivery_value" step="any" type="number" value="5000.0">
</td>
</tr>
dippas、あなたの答えを必要とします正しいもののように見えますが、私はそれがJSFIddleで動作するのを見ることができません。あなたは正しいようにそれをチェックすることができるように、そこにそれを提供してもらえますか? –
@EdgarNavasardyanここにあなたは行く[フィドル](https://jsfiddle.net/4hrbbj9p/) – dippas