Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Ulteriori informazioni

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

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

  • 3 risposte
  • 6 hanno questo problema
  • 1 visualizzazione
  • Ultima risposta di 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

Tutte le risposte (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

Modificato da kn00tcn il