I want to copy the Contact app textfield for email, where there is a listselector for type of email (home, work, other) embedded inside the textfield.

I assume it's some type of CSS trick, but maybe there's more to it. If anybody has figured this out, I'd love to know how it's done.