Preliminary and incremental values ββare disabled by approximately 3 pixels (preliminary and added range are low)
Here is my markup:
<div class="container">
<div class="row">
<div class="span12">
<form class="well">
<div class="control-group">
<label class="control-label" for="txtLot_Original_Cost">Original Cost</label>
<div class="controls">
<div class="input-prepend">
<span class="add-on">$</span><input class="span2 numAlign" name="txtLot_Original_Cost" id="txtLot_Original_Cost" size="16" type="text">
</div>
</div>
</div>
</form>
</div>
</div>
</div>
The markup is on a very simple page:
<!DOCTYPE html>
<html>
<head>
<title><%= title %></title>
<link rel='stylesheet' href='/stylesheets/bootstrap.css' />
</head>
<body>
<%- body %>
</body>
</html>
I can override the problem with the following css:
.input-prepend .add-on {
margin-right: -1px;
position:relative;
bottom:2px;
}
But I wonder what other side effects this will create.
source
share