Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

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

  • 3 réponses
  • 6 ont ce problème
  • 1 vue
  • Dernière réponse par 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

Toutes les réponses (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

Modifié le par kn00tcn