Try this html code in IE ( i have 6.0):
<HTML>
<style>
.mybox { padding-left: 0px; padding-right: 0px; margin-left: 0px; margin-right: 0px; height: 19px; }
</style>
<input type="text" name="text1" value = "W" maxlength = "1" size = "1" class=mybox >
<input type="text" name="text2" value = "WWWWW" maxlength = "5" size="5" class=mybox >
</HTML>
You will notice that the width of the first box is much more than it is needed to show one char. setting the padding is not helping. Any ideas to reduce the display width??
Start Free Trial