搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

getting a dotted line around .swf files in my flash site now. this is new as of Firefox 3. Using 4 on a MacBookPro. tried "style outline none" fix. doesn't work. any help?

  • 10 个回答
  • 17 人有此问题
  • 3 次查看
  • 最后回复者为 ralphiedee

more options

Question getting a dotted line around .swf files in my flash site now. this is new as of Firefox 3. Using 4 on a MacBookPro. tried "style outline none" fix. doesn't work. any help?

Question getting a dotted line around .swf files in my flash site now. this is new as of Firefox 3. Using 4 on a MacBookPro. tried "style outline none" fix. doesn't work. any help?

被采纳的解决方案

Ah, totally understand now as I added to my html doc

<style type="text/css"> body { background-color: #FFF; } '''''''object { outline:none; }'''''''

</style>

定位到答案原位置 👍 0

所有回复 (10)

more options

Is it a public and family friendly page? If so, can you post a URL to it?

more options

Sorry for long response. Vacation.

To answer your question. This problem affects ALL my sites. The test site showing the problem is http://www.christophermoores.com

For testing, I snagged an image from the web. Converted it to a button and placed it in the middle of a 1024 x 768 file. When you rollover it the "hand" cursor doesn't appear, and clicking on it creates the "dotted black line" problem. Using Firefox 4.0.1. on a MacBook Pro 64bit.

That's it. Nothing fancy. And this problem doesn't appear in Safari, Chrome, or Explorer.

I've done some reading (blogs, forums and what not...) and seems a pretty common problem. Some folks have fixes that sound like they work, but when applied, don't.

SO...there you have it. Any help would be appreciated.

Thanks

由morz于修改

more options

I don't get the outline on that Flash object on Windows 7. Have you tried Firefox's Safe Mode or a blank new profile to see whether it could be caused by a custom setting or add-on?

First, I recommend backing up your Firefox settings in case something goes wrong. See Backing up your information. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)

Next, try starting Firefox in Firefox Safe Mode. Be careful not to "reset" anything permanently if you didn't back up.

Does that fix it? If not, try creating a new (blank) profile: Managing profiles.

Any change?

more options

I'll try those tips. And, yes, you're correct. In the Windows environment, (XP and 7) there is no outline and everything works normally.

Just a guess at this point, but I think it may have something to do with OSX 10.6 and 64bit handling. Thanks tho'

more options

object, embed {

 outline: 0;

}

more options

...well i'm brain dead. That's got it!!!

Thanks.

more options

...now if i can just get the "hand" cursor problem fixed on buttons that would be great...sigh.

more options

/* stops annoying focus-selection boxes in FF3 */

  • active, object:focus, embed:focus

{ outline: none; }

more options

Sorry for being a bit anal here but where do I add the "object, embed { outline: 0; } " to the html or the actual swfobject_modified.js?

Heres my object and embed codes right off the .html page

<script src="../Scripts/swfobject_modified.js" type="text/javascript"></script>
<style type="text/css">
body {
 background-color: #FFF;
}
</style>
</head>

<body>
<div id="container" >
  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="900" height="600" id="FlashID" title="index">
   <param name="movie" value="index.swf" />
   <param name="quality" value="high" />
   <param name="wmode" value="opaque" />
   <param name="swfversion" value="10.2.0.0" />
   
   <param name="expressinstall" value="../Scripts/expressInstall.swf" />
   
   <object type="application/x-shockwave-flash" data="index.swf" width="900" height="600">
    
     <param name="quality" value="high" />
     <param name="wmode" value="opaque" />
     <param name="swfversion" value="10.2.0.0" />
     <param name="expressinstall" value="../Scripts/expressInstall.swf" />
     <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
     <div>
       <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
       <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
        </div>
     <!--[if !IE]>-->
    </object>
   <!--<![endif]-->
  </object>
</div>
<script type="text/javascript">
swfobject.registerObject("FlashID");
</script>

由cor-el于修改

more options

选择的解决方案

Ah, totally understand now as I added to my html doc

<style type="text/css"> body { background-color: #FFF; } '''''''object { outline:none; }'''''''

</style>