PDA

View Full Version : Focus rectangle with transparent wmode, Firefox & swfobject


AJ-D
09-02-2009, 11:20 AM
Hi,

Anyone know how to get rid of the focus rectangle Firefox puts around the SWF with focus when using swfobject and wmode is set to transparent? I've been scouring the web but can't find mention of it anywhere.

Thanks.

AJ-D
09-02-2009, 11:39 AM
Okay, fixed it. Not the greatest way to do it IMO, but this CSS works:

object:focus
{
-moz-outline: none;
}

yell0wdart
09-02-2009, 04:26 PM
You actually shouldn't need the "-moz-" there at all. This should work just fine:


object:focus
{
outline: none;
}

AJ-D
09-04-2009, 05:35 PM
Hey, it does. Thanks, I'm all standards compliant now. :)