SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
-
Oct 4, 2007, 06:11 #1
- Join Date
- Oct 2006
- Posts
- 216
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
CSS: Input field and Get Cursor to Blink
I have declared the followng in css:
input.text, input.title { width: 300px; margin:0.5em 0.5em 0.5em 0; }
I need to get the cursor to blink in the input field as default behaviour. Can someone tell how I can do this?
-
Oct 4, 2007, 07:04 #2
- Join Date
- Dec 2004
- Location
- Derbyshire - UK
- Posts
- 2,651
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
It'll need to be done with JavaScript. Have a read of this article as it's a useful pointer as to how this can be achieved with usability in mind.
http://www.themaninblue.com/writing/...ve/2005/10/27/
Bookmarks