Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

When I add a border to the swf object, it shrinks the swf by the border width x2.

  • 3 件の返信
  • 6 人がこの問題に困っています
  • 1 回表示
  • 最後の返信者: kn00tcn

more options

When I add a 5px border to the swf container/object, it shrinks the object by 10px (height and width). This is happening in both Mac and PC Firefox 3.6.3. The PC versions of 3.0.15 and 3.5.9 ignore the border style. All other browsers tested so far are displaying it correctly...Safari (Mac & PC), IE6, IE7, IE8, Opera (Mac & PC), and Chrome (Mac & PC).

This happened

Every time Firefox opened

User Agent

Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-us) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7

When I add a 5px border to the swf container/object, it shrinks the object by 10px (height and width). This is happening in both Mac and PC Firefox 3.6.3. The PC versions of 3.0.15 and 3.5.9 ignore the border style. All other browsers tested so far are displaying it correctly...Safari (Mac & PC), IE6, IE7, IE8, Opera (Mac & PC), and Chrome (Mac & PC). == This happened == Every time Firefox opened == User Agent == Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-us) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7

すべての返信 (3)

more options

I should add that I am using swfobject2.1 javascript code for the Flash.

more options

A good place to ask questions and advice about web development is at the MozillaZine Web Development/Standards Evangelism forum. The helpers at that forum are more knowledgeable about web development issues. You need to register at the MozillaZine forum site in order to post at that forum.

See http://forums.mozillazine.org/viewforum.php?f=25

You need to post a link to the website or relevant parts of the code.

more options

i just ran into this, ended up just surrounding the whole <div id="flashcontent"> with another div that had the border, seems to work just fine

also dont forget to put object{display:block} in your css to remove the little gap underneath it

この投稿は kn00tcn により に変更されました