When I add a border to the swf object, it shrinks the swf by the border width x2.
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
All Replies (3)
I should add that I am using swfobject2.1 javascript code for the Flash.
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.
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
An gyara