-
Table centring
Hi,
I've made a small site in Flash and created a table in HTML to import the SWF file, which is the complete site.
Each time I test the site the browser displays the SWF in the top left corner?
How can I center the table? - would anyone be kind enough to post up sample code.
Cheers
-
not'n' wrong with hat'n' sushi
You can uss CSS to style the placement of your swf. Are you familiar with CSS?
Originally Posted by clarke121
Hi,
I've made a small site in Flash and created a table in HTML to import the SWF file, which is the complete site.
Each time I test the site the browser displays the SWF in the top left corner?
How can I center the table? - would anyone be kind enough to post up sample code.
Cheers
-
Done it
Thanks I used CSS to sort it out.
Cheers
-
or you can use this, without using css :
<TITLE>yourtitle</TITLE>
</HEAD>
<BODY bgcolor="white" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<TABLE width="100%" height="100%" border="0">
<tr>
<td align="center" valign="middle"><table width="700" height="450" border="0" cellpadding="2" cellspacing="0"
<tr>
<td><object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="700" height="450">
<param name="movie" value="yourmovie.swf">
<param name="quality" value="high">
<param name="menu" value="false">
<embed src="yourmovie.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="700" height="450"></embed>
</object></td>
</tr>
</table>
</td>
</tr>
</table>
</BODY>
</HTML>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|