How do I put a clear button inside my HTML text input box like the iPhone does?

Posted by Hugh Buchanan on Stack Overflow See other posts from Stack Overflow or by Hugh Buchanan
Published on 2010-05-10T14:43:54Z Indexed on 2010/05/10 15:34 UTC
Read the original article Hit count: 273

Filed under:
|
|
|

I want to have a nice little icon that, when clicked will clear the text in the <INPUT> box.

This is to save space rather than having a clear link outside of the input box.

My CSS skills are weak... Here is a screenshot of how the iPhone looks.

© Stack Overflow or respective owner

Related posts about css

Related posts about html