Reputation: 1547
I am extending a project which uses Twitter Bootstrap. I set the width of my input textbox to be 260px. The css width property is not crossed over in Chrome inspector and is correctly shown 260px, but its actual width is 270px. When I change the width in my stylesheet to 270px, its real width becomes 280px and so on. What can possibly be the causes?
Upvotes: 0
Views: 78
Reputation:
check from the metrics
view of the chrome inspector. It'll show the padding
and the width
being applied to your input.
set padding:0
if neccessary
Upvotes: 1