Never been to TextSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

Rounded Mac Input Box (See related posts)

This html code makes an input box that looks like the one found at here (Under the search downloads box) It works only on macs(safari tiger only i believe) and does not validate. Note: type="search" is what makes it work.
<input type="search" name="blah" value="Search"/>

Comments on this post

unquiet posts on May 31, 2005 at 07:50
This post by Apple's Dave Hyatt talks about the input type="search" attributes... anyone using that form element will probably find it useful.

There's some neat stuff possible; and it does fallback into a regular text box for other browsers, so it's still usable.
Phaegie posts on Sep 13, 2007 at 15:03
but it only works on safari... are there any codes for FF an others?

You need to create an account or log in to post comments to this site.


Related Posts