I’ve got a DIV which has contentEditable=true so the user can edit it. The problem is that it doesn’t look like a text field, so it may not be clear to the user that it can be edited.
Is there a way that I can style the DIV so that it appears to the user like a text input field?
These look the same as their real counterparts in Safari, Chrome, and Firefox. They degrade gracefully and look OK in Opera and IE9, too.
Demo: http://jsfiddle.net/ThinkingStiff/AbKTQ/
CSS:
HTML:
Output: