怎么让网页插入FLASH居中显示啊?代码!
答:<br /><br />你的问题有点模糊,是想让一个flash在IE的整个显示区上下左右都居中显示吗? <br />这样的话,先插入一个100%的表格,再把高度设为100%,把上下和左右对齐都设为对中。在其中插入flash就可以,不管IE窗口怎么缩放,flash都是显示在正中的。 <br />代码: <br /><html> <br /><head> <br /><meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <br /><title>flash居中显示</title> <br /></head> <br /><body leftmargin="0" topmargin="0"> <br /><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"> <br /><tr> <br /><td align="center"><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="400" height="300"> <br /><param name="movie" value="mf_001.swf"> <br /><param name="quality" value="high"> <br /><embed src="mf_001.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="400" height="300"></embed> <br /></object></td> <br /></tr> <br /></table> <br /></body> <br /></html><br /><br /><blockquote class="blockquote">From: http://www.chenyu.me/read-htm-tid-4509.htmlPowered by PHPWind.com</blockquote>
页:
[1]