I have the following html:
<div class="container-fluid">
<div class="row-fluid">
<div class="span8">
<form class="form-horizontal">
<div class="control-group">
<label class="control-label">Field 1</label>
<div class="controls">
<input type="text" />
</div>
</div>
<div class="control-group">
<label class="control-label">Field 2</label>
<div class="controls">
<div class="input-append">
<input type="text" />
<span class="add-on">%</span>
</div>
</div>
</div>
</form>
</div>
</div>
</p>
And the following style:
input { width: 100%; }</p>
Field 1's input box works as expected. However, field 2 seems to get some fixed width. Why does this happen and is there a way to fix it? I would like the appended to input to be the same 100% width within the span to match the other text fields.
Example here: http://jsfiddle.net/PilotBob/erT7d/