![]() ![]() |
| ktrainyo |
Feb 28 2010, 12:29 AM
Post
#1
|
|
Group: Members Posts: 2 Joined: 28-February 10 Member No.: 11,238 |
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? |
| pandy |
Feb 28 2010, 01:16 AM
Post
#2
|
|
Don't like donuts. Don't do MySpace. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: WDG Moderators Posts: 13,726 Joined: 9-August 06 Member No.: 6 |
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. -------------------- |
| Darin McGrew |
Feb 28 2010, 01:17 AM
Post
#3
|
|
WDG Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Root Admin Posts: 7,852 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
QUOTE <object width="225" height="315"> The height specified here seems to be more than the height of the Flash animation.-------------------- Darin McGrew
WDG Member since 1998 |
| ktrainyo |
Mar 2 2010, 01:18 AM
Post
#4
|
|
Group: Members Posts: 2 Joined: 28-February 10 Member No.: 11,238 |
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 22nd May 2013 - 09:18 AM |