Not sure about the mobile devices. But in IE(8 and above, with doctype) and other modern browsers, a :focus pseudo-class for the input will work. No need to add/remove in onfocus/blur.
like
input:focus{
font-weight:bold;
font-size:1.3em;
}
But changing the size on focus could be annoying..
Jerry,
Not sure about the mobile devices. But in IE(8 and above, with doctype) and other modern browsers, a :focus pseudo-class for the input will work. No need to add/remove in onfocus/blur.
like
input:focus{
font-weight:bold;
font-size:1.3em;
}
But changing the size on focus could be annoying..