Search code examples
htmlcssopera

Why does Opera resize email input fields?


Here is my code: jsFiddle.

I've tested this in the latest versions of Chrome, Opera, FF, and Safari. All seems to appear fine except Opera. It seems as if Opera resizes the email input field because when I change it to text, it works out just fine. Is there a fix for this?

EDIT: Using Opera v11.01 on Mac OS X 10.6.7


Solution

  • I'm not aware of anything that says that the default style for an email input should have the same width as the default style for a text input, and you're not explicitly asking for anything other than the browser's default style.