HTML
<div class="wrap">
<input class="field" type="text">
<textarea class="field" row="10"></textarea>
</div>
CSS
.wrap{width:300px;overflow:hidden;padding:10px;}
.field{display:block;width:100%;margin:10px 0;padding:10px;}
I expect width of text input and textarea should be exactly equal to parent div. but they are not . can anybody explain why?