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 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 Wittenbergh

css-discuss [EMAIL-REMOVED]]
IE7b2 testing hub --
List wiki/FAQ --
Supported by --
Previous Message
Next Message

Message thread:

Possibly related: