Having a bit of trouble with embeded Flash skewing Table size limits.

Discussion in 'HTML & Website Design' started by RainbowGradient, Jul 19, 2008.

  1. #1
    Basically I'm designing a site with a good amount of tables squeezed together. Each table td needs to be an exact size to make the site look fine since it's a graphic heavy site.

    Anyways all was well but for some reason when I embed a flash swf I can't seem to get the thing to stick to the size limitations I set. To be exact this Flash swf is 598x411 and I plug in everything to limit the size of the Flash to that exact number (which works) but the <td> tags and embed things don't stick to the size and it ends up somehow making stuff grow by 2 pixels width and 4 pixels height.

    Here's an example of a small amount of the code:
    <td width="598" height="411" rowspan="2">
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="598" height="411">
    <param name="movie" value="flash/homeflash.swf">
    <param name="quality" value="high">
    <param name="wmode" value="transparent">
    <embed src="flash/homeflash.swf" width="598" height="411" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
    </object>

    It also skews some of the images to the left of it but I assume that if I fix the size problems with it then those will resolve.


    EDIT: I've found this problem quite common on Google but still can't find a definite solution. The ebeded Flash causes skewing in size in the <td> that it's in and as a result skews the size of nearby <td>s which really screws up the whole thing.
     
    RainbowGradient, Jul 19, 2008 IP
  2. RainbowGradient

    RainbowGradient Peon

    Messages:
    67
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Oh me! Gaps!

    [​IMG]

    That's kinda what it does. Though that's the closest I could get it without it ALSO making a 1 pixel gap on each far size of the table. It's set at 598x400 (411 is what's it's supposed to be) right there.

    (this isn't the whole site showing, just the middle section.

    %s don't work. I've tried changing my Doctypes to no avail. I've tried a lot more different ways to try and force the resize to work but I couldn't get it right. It ALWAYS seems to leave a gap, mostly on the bottom, which skews the whole site.
    The Flash is that thing on the right, the photo which changes between photos, the buttons on the left and middle border thing between them is just another imagine. Without the swf it works fine.
     
    RainbowGradient, Jul 19, 2008 IP