I have the code bellow where i run a few swf files on my homeserver, when looking at the site in Google Chrome it looks just fine, but if i look at it in internet explorer it become quite distored and the swf file is streched out and microsmall all over the screen, why is it working in chrome but not internet explorer and can someone help to fix it ? :/ <table border="0" width="100%" height="700" margin:0px;> <tr> <td align="right"> google add1 </td> <td> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="100%" height="100%"> <param name="movie" value="99.swf" /> <param name="quality" value="high" /> <PARAM NAME="SCALE" VALUE="exactfit"> <embed src="99.swf" quality="high" type="application/x-shockwave-flash" width="100%" height="100%" SCALE="exactfit" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> </td> <td> google add2 </td> </tr> </table> HTML:
It's most likely because you are setting the width of the table to 100% and the embed object to 100% width. Set it either as a fixed width bring the percentages down.
I would be asking what the devil makes ANY of that tabular data, and why you're using EMBED like it's still 1997. (don't care what the HTML 5 ****tards say, EMBED is best left in the past -- there's a REASON it wasn't adopted into 4 Strict!). Might also help if you weren't mixing XHTML and HTML in the same document. I'd probably be doing something more like this: <div class="googleAdvert"> Advert 1 <!-- .googleAdvert --></div> <div class="googleAdvert alternate"> Advert 2 <!-- .googleAdvert.alternate --></div> <div class="movie"> <!--[if IE ]> <object type="application/x-shockwave-flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.adobe.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" > <![endif]--> <!--[if !IE]>--> <object type="application/x-shockwave-flash" codebase="http://fpdownload.adobe.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" data="99.swf" > <!--<![endif]--> <param name="movie" value="99.swf" /> <param name="quality" value="high" /> <param name="scale" value="exactfit" /> <p> <a href="http://get.adobe.com/flashplayer/"> Adobe Flash Player </a> is required to view this content. </p> </object> <!-- .movie --></div> Code (markup): With this for CSS: .googleAdvert { float:left; width:224px; min-height:1px; /* just in case advert doesn't load */ text-align:center; background:#CCC; } .alternate { float:right; } .movie { position:relative; /* report width to child elements properly */ overflow:hidden; /* prevent float de-indent */ zoom:1; /* trip haslayout, prevent float de-indent legacy IE */ } .movie object { width:100%; } Code (markup): Beware that if the flash movie you embed does not report it's dimensions properly, it will NOT auto-scale height-wise... but otherwise this should fit between your two adverts quite nicely. (adjust the advert column widths as needed). This is not tabular data, so don't use a table.