Input Field LIKE UI Button 2
by bizamajig
HTML
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/themes/base/jquery-ui.css">
<input />
CSS
.my-textfield {
font: inherit;
color: inherit;
text-align: inherit;
__outline: none;
__cursor: text;
}
JavaScript
$('input:text, input:password, input[type=email]')
.button().addClass('my-textfield');