I gave the same width for 2 elements , one is a input text field of a form , other is a div. But they both render different widths when displayed. input field appears to be more wider than the div element. Can someone explain me how to fix it? Is there some fixed proportion by which input field shows more width? Help me.