Hi everyone. I am running a site using zen cart so it is very limited as far as the html allowed goes within the set pages. I am trying to get all the flash elements on our homepage to line up to the top of the table I have them in. I will post the code below. The website in question is www.gobblegreen.com.
<table border="0" bordercolor="#FFCC00" style="background-color:#FFFFFF" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top" width=230 height=270>
<object width="225" height="315">
<param name="movie" value="http://www.gobblegreen.com/flash/as-seen-in.swf">
<embed src="http://www.gobblegreen.com/flash/as-seen-in.swf" width="225" height="315">
</embed>
</object></td>
<td align="center" valign="top"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="480" height="270" align="middle">
<param name="allowFullScreen" value="false"/>
<param name="movie" value="FLV/GG-TV.swf?xml_path=FLV/slides.xml" />
<param name="quality" value="high" />
<embed src="FLV/GG-TV.swf?xml_path=FLV/slides.xml" width="480" height="270" quality="high" allowFullScreen="false" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
</object></td>
<td align="center" valign="top"><p><a href="http://www.gobblegreen.com/index.php?main_page=page&id=5"><img src="http://www.gobblegreen.com/ErinG-003.jpg" width="200" height="157" /></a></p>
<p><font face="Lucida Sans Unicode, Lucida Grande, sans-serif"><a href="http://www.gobblegreen.com/index.php?main_page=page&id=5"><font color="#000066"><b>Get fit with Erin!</b></font></a></font></p></td>
</tr>
</table>
What am I doing wrong?
They are at the top. But you try to resize the left one disproportionately with HTML. Its native proportions seem to be 225 by 200 or thereabout rather than 225 by 315. It seems flash pad with a white background rather than distort the movie. I don't know if that's the norm. I'm not into flash. If you rightclick in the white area above the movie you can see it's flash.
Furthermore you've set the table cell's height to 85 pixels less than the height you want the flash to have. Usually there is no need to use height on table cells with content.
Thank you guys! I just had the wrong aspect in trying to resize it. Now that I have the correct size it lines up!
Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)