FireFox 3.6 draws one-pixel border.

January 30th, 2010 by Luis

FireFox 3.6 draws one-pixel border aorund embedded SWF (also occurs with Java Applets) where the width and height is set to 100%, causing pointless scrollbars to appear.

It seems to be a side effect of fixed usability problem which makes old bugs to appear.

Solution 1:

In about:config:

Set browser.display.focusringonanything to true and set browser.display.focusring_width to 0

Solution 2:

Paste this in your css/stylesheet:

a:focus, object:focus { outline: none; -moz-outline-style: none; }

Thanks Thomas for the info.

See more at support.mozilla.com forum (FireFox 3.6 draws a one-pixel border…)

5 Responses to “FireFox 3.6 draws one-pixel border.”

  1. Isocase Says:

    Seems to be a swfobject issue. I use swfIN to embed my Flash movie’s and could not replicate the issue on a Mac.

  2. Troy Blank Says:

    Yea I am using swfobject and had problems with the one pixel boarder, thanks for posting the fix, solution 2 worked great for me.

  3. elbjoern > Unterwegs im Web » FireFox 3.6 + swfobject = Scrollbar? Says:

    […] via lessrain blog » Blog Archive » FireFox 3.6 draws one-pixel border.. […]

  4. Aran Says:

    @Isocase - Why would it be specific to SWFObject? As Luis already said, it is a FF 3.6 CSS related bug. Any plug-in defined by an tag is affected.

    Please at least read what the original entry said before posting false info.

  5. Corey Says:

    Does anyone know if a bugzilla bug has been filed on this issue?

Leave a Reply