Having some troubles with a "choose file" form in IE7. <label for="">Photo</label> <input type="hidden" name="max_file_size" value="1000000" /> <input type="file" name="avatar" size="25" class="input_text input_lg" /> Code (markup): In other browsers it appears normal however in IE7 the text box becomes longer and the "choose file" button extends outside my layout. chaning the size="25" does not change the size of the text box. Could really use a hand with this if anyone has experienced this phenomenon.
The "file" input type is one of the trickiest form types because it is so hard to work with. I did some research for you and found this, which may help. http://www.telerik.com/help/aspnet/upload/modifyingfileinputappearance.html
ignore *Edit, ignore all that, I misread you to mean the button, you meant the text box... testing with my form, though, I find myselft able to change the width of the textinput as small as 10 and as large as 50 (or larger but that's just what I tried). So, there is likely an error somewhere else, because this is not an IE7 bug. http://stommepoes.nl/Homeselling/secondhome/invoeren5.html the size is set in HTML and changing that number works on my IE7 (WInXP if it matters). So, triple check your code through the validator.