Previous Message
Next Message

Firefox :hover bug?

Sent by Philippe Wittenbergh on 17 March 2006 11:11


On Mar 17, 2006, at 6:55 PM, Vidar Ramdal wrote:

> Firefox seems to ignore rules with selectors like .classname:hover.
>
> See http://home.no.net/vramdal/test.html for an example.
>
> The gray square is a div with class="classname". There's a CSS rule  
> saying:
> .classname:hover {border: 1px solid red}, but no red border appears in
> Firefox when I hover over the square.
>
> In Opera and Safari the red border appears as expected. IE, of course,
> ignores the rule, as it doesn't recognize :hover on anything but <a>
> elements.
>
> Is this a Firefox bug that should be reported in Bugzilla?

Firefox ignores (some) :hover rules when in Quirksmode.
Add a full doctype and it works perfectly.

Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com>




______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- 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/
Previous Message
Next Message

Message thread:

Possibly related: