IE6 doesn't support focus in CSS.  However Dean Edwards Beta of IE7
(Internet Extensions) which is a set of behaviors for IE6 to make it more
CSS 2 compliant does support it.  You can find the behaviors at
http://dean.edwards.name/IE7/

  _____  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 20, 2004 11:51 AM
To: CF-Talk
Subject: OT: CSS 'focus' in IE

Hello

I've been looking at
http://www.w3.org/TR/CSS21/selector.html#pseudo-elements and the
pseudo-class 'focus'....

When I've got

<style type="text/css">
.input { background: #CCCCCC; color: #000000; }
.input:focus { background: #FF0000; color: #FFFFFF; }
</style>

<input type="text" size="20" maxchar="20" class="input" />

It works in Firebird 0.8 ok... but not in IE 6... anybody know a hack to
achieve it keeping it all in the CSS for IE 6?  Or do we need to wait
for IE 7?

I've had a root about google but can't see anything that would help me.

(it's a external development done in UNIFACE so got no control over the
generation of the HTML code of the input elements)

Cheers if anyone can help.

--
David Collie
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to