logo

New Response

« Return to the blog entry

You are replying to:

    • avatar
    • Baiju Thomas
    • Posted on Tue 22 Mar 2011 03:41 PM

    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..

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: