- From: Bjoern Hoehrmann <derhoermi@gmx.net>
- Date: Mon, 08 Oct 2001 15:28:36 +0200
- To: mcdouglas@angelfire.com
- Cc: www-style@w3.org, tantekc@microsoft.com
* McDouglas wrote:
>I have a question: how cay cahnge the color of my cursor?
>(not the mouse cursor, the pointing device... i mean the
>character cursor in the input fields). Because i changed
>the background color of my <INPUT>, and the cursor is now
>cannot be seen. This is problem, because the design of the
>page reccomend the gray field background... So, how can i
>change the color of the cursor?
Hm, cursors are typically bitmap graphics, thus it would be
rather hard to specify a color for the cursor. You can
circumvent this problem be specifying your own cursor for
input elements, e.g.
input { cursor: url(cursor), text }
I think the only thing CSS3 could do is to require user agents
to ensure a certain contrast for cursors to avoid such problems.
regards,
--
Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/
Received on Monday, 8 October 2001 09:29:17 UTC