1 Reply Latest reply: May 15, 2008 2:33 AM by Stuart Haiz RSS

    Gap next to Flash object

    Stuart Haiz Community Member
      I'm having difficulty getting rid of a gap that is appearing when I insert a swf on my page in CS3.
      I have a table (I inherited the site!) & want to replace one of the images in it with a swf. I've tried using a div to constrict my table row, which contains 3 images. It's the middle image I want to replace. However, swapping this for a swf adds a space to the left of the file & forces image 3 below.

      I've tried creating a rule for the object with 0px margins & padding, the correct box width & height; I've even tried 0px line height!

      I'm on a development site so can't post a link to the page I'm afraid but here's some of the page code:

      <tr>
      <td height="223" colspan="3" valign="top"><div id="logoTblRow"><img src="images/banner/lbLogoBtm.jpg" width="532" height="223" />
      <script type="text/javascript">
      AC_FL_RunContent( 'codebase',' http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','wid th','286','height','223','src','flash/lbPartners','quality','high','pluginspage','http://w ww.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','flas h/lbPartners' ); //end AC code
      </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="286" height="223">
      <param name="movie" value="flash/lbPartners.swf" />
      <param name="quality" value="high" />
      <embed src="flash/lbPartners.swf" quality="high" pluginspage=" http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="286" height="223"></embed>
      </object>
      </noscript><img src="images/banner/lbPartnerPnlR.jpg" width="118" height="223" /></div></td>
      </tr>