Laith
Laith

Reputation: 6091

How do I remove dotted border around Silverlight 4 in Firefox 4?

If any of you switched to Firefox 4, you'll notice a new focus visual around your silverlight object. This visual is a dotted border that surrounds the object tag whenever it gains focus. This can be very ugly when you have a Silverlight object that's part of an HTML page (ie. not 100% width/height).

So how do I get rid of this? In CSS?

Upvotes: 0

Views: 320

Answers (1)

Laith
Laith

Reputation: 6091

Found the answer myself. Add this line to your CSS.

object::-moz-focus-inner { border:0; }

Upvotes: 2

Related Questions