Re: [css-d] :focus and IE

2007-03-15 Thread David Hucklesby
On Thu, 15 Mar 2007 11:58:43 -0400, Bruce Gilbert wrote:
> I am using :focus in my CSS and works great in FF, but not in IE6 on PC, does 
> IE not
> support :focus? This is IE6, I am testing on..haven't tried IE-7.
>
>
> CSS:
> input[type=text]:focus, textarea:focus{
> color:#333;
> background-color:lightyellow;
> border:1px solid #000;
> }
>
Nope. IE6 does not understand [type=text] either. Nor pseudo-classes
such as :hover on anything except links.

IE7 should understand the [type=text] but not ":focus" anywhere.

I solve this with scripting, adding a class of "focus" dynamically for
IE only.

Sorry, no CSS solution that I know of.

Cordially,
David
--
www.hucklesby.com



__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


[css-d] :focus and IE

2007-03-15 Thread Bruce Gilbert
I am using :focus in my CSS and works great in FF, but not in IE6 on
PC, does IE not support :focus? This is IE6, I am testing on..haven't
tried IE-7.


CSS:
input[type=text]:focus, textarea:focus{
color:#333;
background-color:lightyellow;
border:1px solid #000;
}

XHTML:


etc.

-- 
::Bruce::
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/