deco10
07-17-2009, 01:39 PM
Hi
I have a text box that starts with text in it. "Search Here" it says. When the user clicks in the box I use javascript (jquery) to clear the text and change the class (the class when the user clicks in the box makes the font-style normal and the color black, otherwise the text is italic and grey). So when I click in the box in IE, the italics are removed and the box gets a few pixels wider, which is really annoying.
Is this a known issue or have I got something bass-ackwards here?
I have a text box that starts with text in it. "Search Here" it says. When the user clicks in the box I use javascript (jquery) to clear the text and change the class (the class when the user clicks in the box makes the font-style normal and the color black, otherwise the text is italic and grey). So when I click in the box in IE, the italics are removed and the box gets a few pixels wider, which is really annoying.
Is this a known issue or have I got something bass-ackwards here?