Forum Moderators: not2easy
object {border: 0 none; margin:0; padding:0}
and even applied the same using an id on the object.
Other ideas?
Are you sure there's no border in the flash movie itself?! :)
Presumably your EMBED tag is inside your OBJECT for the benefit of IE, which is then inside a containing DIV, ...which is then inside another DIV?
Are you sure your flash object is completely filling the container? Or maybe if the flash object is a slightly different aspect ratio to the container (DIV) then you could get a thin border on two of the sides?
Is the 'border' on all sides?
Code (specifics removed):
<div id="banner">
<object classid="the code base str" codebase="macromedia url" width="464" height="248">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="theflashfile.swf" />
<param name="wmode" value="transparent" />
<param name="quality" value="high" />
<param name="scale" value="exactfit" />
<embed src="theflashfile.swf" quality="high" bgcolor="#ffffff" width="463" height="248" name="playme" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="another macromedia url" />
</object>
</div>
The styles
img,object {
display: block;
border-collapse: collapse;
border: 0 none;
}
#banner {
background-image: url(imgs/banner.jpg);
background-position: left;
background-repeat: no-repeat;
}
I've tried defining the height of the div and expanding the object embed and object size but it didn't work.
Oh and no, there's no border in the flash file :)
Just in case anyone is reading this thread and is perhaps confused by a comment/mistake in my post above and the eventual solution...
Presumably your EMBED tag is inside your OBJECT for the benefit of IE...
When the EMBED tag is inside the OBJECT element like this, it is for the benefit of FF, not IE! (oops)