Polly Polly - 10 months ago 42
HTML Question

how extends the input field until at div end

This is my bootstrap/html code:

<div class="col-md-8">
<label for="label_test_email">Put email</label>
<input type="text" class="form-control" id="test_email" name="test_email" />

the position is correct but I want that the size of input field extends until the div end. Anyone can help me?


Just specify the width in percentage like this :


Here is the working jsFiddle

Hope it helps :)