0

I have this following piece of code.

           <fieldset>
                <div class="control-group form-group">
                    <label class="control-label" for="number-of-properties">Number Of Properties</label>
                    <div class="controls">
                        <input  id="number-of-properties" type="number" min=0>
                    </div>
                </div>      
            </fieldset>

The number input is too thin and only half of the number is visible. I want the full number to be visible.

Sourav Mukherjee
  • 299
  • 7
  • 13

2 Answers2

1

Please find a JSfiddle using the code from question but with few minor tweaks. It works fine in the fiddle. If this is not the solution you are looking for then please create a fiddle or plunker and post it here to show us the error you get and your expected result. Hope it helps.

<fieldset>
<div class="form-group">
    <label class="control-label" for="number-of-properties">Number Of Properties</label>
    <input class="form-control" id="number-of-properties" type="number" min=0>
</div> </fieldset>
rraman
  • 216
  • 2
  • 9
0

Do you have <!DOCTYPE html> at the top of your page? Also add "form-control" class to input element.

Abhash Upadhyaya
  • 717
  • 14
  • 34