Results 1 to 2 of 2

Thread: Flash in <table> problem

  1. #1

    Thread Starter
    Fanatic Member ZeBula8's Avatar
    Join Date
    Oct 2002
    Posts
    548

    Flash in <table> problem

    Just wondering; i put small Flash inside a html table and it doesn't display.

    If I take it out of the table it will display.

    Code:
    <table>
      <tr>
        <td>
          <OBJECT id="mymovie" 
    	codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" 
    	height="600" width="770" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" VIEWASTEXT>
            <PARAM NAME="Src" VALUE="myMovie.swf">
            <EMBED src="myMovie.swf" quality="high" 
    		bgcolor="#FFFFFF" WIDTH="770" HEIGHT="600" NAME="mymovie"
                    ALIGN="" TYPE="application/x-shockwave-
    		flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
            </EMBED>
          </OBJECT>
        </td>
      </tr>
    </table>

    Is there an issue I am unaware of?

    thanks in advance.

  2. #2
    Banned timeshifter's Avatar
    Join Date
    Mar 2004
    Location
    at my desk
    Posts
    2,465

    Re: Flash in <table> problem

    The table likely won't inherit the size of the flash, because it's an object tag. Try this:
    Code:
    <table cellpadding="0" cellspacing="0" width="770px" height="600px">
    Nix the padding and spacing so the raw size is correct, then force it to the dimensions you need.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width