I have this HTML form with an input field. I want only numeric values to be inputted.
Problem is, when I hover the mouse over the input field, a scroll bar appears on the right. How to avoid this?
<html>
<body>
<div class="form-group">
<br/>
<label class="control-label">Hours spent :</label>
<input type="number" id="hours" name="hours" placeholder="Please input total number of hours spent on this job." class="form-control">
</div>
</body>
</html>