1

I am working on getting my website to display nicely in IE7. IE6 is already done, and also FF, Chrome, Safari, Opera etc...

I am running IE7 in IETester if that makes any difference.

I have a problem with an input type='file' in IE7. The button next to it (browse button) is very short with hardly any width at all. It is as if the button has a width set to 4px or something.

And on top of that, when I click the very small button, nothing happens. A browse window should appear, but nothing happens.

Here is the code:

  <td height="30px" align="left" style="vertical-align:top;">
     <input type="file" id="pic_1" name="pic_1">
  </td>

I have tested setting the width of both td and the input, but no luck.

Does anybody know what the problem might be here?

Thanks

5
  • Can you show a screen shot? How does it work if you put it outside the td? Commented Aug 28, 2010 at 9:42
  • Pekka: Same problem outside the entire table... Sorry have no screenshot right now. Commented Aug 28, 2010 at 9:44
  • a screen shot would be helpful. Also, why are you posting the table's CSS if the same problem occurs outside the table? Commented Aug 28, 2010 at 9:44
  • I will remove that part, tested it AFTER posting the css. Commented Aug 28, 2010 at 9:46
  • Maybe it is because I am running IE7 in IETester? Commented Aug 28, 2010 at 9:48

2 Answers 2

3

avoid IETester. Get a copy of expression web superpreview for IE. Its free.

Sign up to request clarification or add additional context in comments.

1 Comment

"IETester" hacks IE in unsupported ways, which breaks UI features implemented in IEFrame. Including this one.
0

Seems like the problem was with IETester.

I tested it on a different computer with IE7 and it works just fine.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.