Polly Polly - 1 year ago 72
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?

Answer Source

Just specify the width in percentage like this :


Here is the working jsFiddle

Hope it helps :)

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download