0
我有一個Flash影片,這是放在一個表格單元( cellpadding = 0 cellspacing = 0 vertical-align = top),但是當它會在資源管理器窗口中顯示Flash影片上方約20px的空白區域。我想讓Flash電影直接出現在灰線下。表格單元格內的Flash影片上的空白空間
這是目前問題的一個屏幕截圖:
這裏是我的這個頁面代碼:
<table style="width: 900px; vertical-align: top;" cellpadding="0" cellspacing="0">
<tr>
<td style="width: 900px; height: 306;" colspan="6" valign="bottom">
<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="880" height="306">
<param name="movie" value="AFM/opening_HKA.swf" />
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<embed src="AFM/opening_HKA.swf" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="880" height="306"></embed>
</object>
</td>
</tr>
<tr>
<td style="width: 355px; height: 151px; font-family: Verdana; font-size: 10pt; padding-left: 35px; padding-top: 7px; text-align: left; vertical-align: top;">
HK America LLC is a leading portfolio investment group. HK America is an active
private investment partnership that uses strategies with the goal of generating high
returns again commercial dwellings.
</td>
<td style="width: 80px; height: 151px;"></td>
<td style="width: 228px; height: 151px; padding: 0 0 0 0; margin: 0 0 0 0; vertical-align: top; text-align: left; border-top-color: Silver; border-top-width: 1px; border-top-style: solid;">
<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="228px">
<param name="movie" value="AFM/button_HKA_Timeline.swf" />
<param name="quality" value="high" />
<embed src="AFM/button_HKA_Timeline.swf" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="228px""></embed>
</object>
</td>
<td style="width: 25px; height: 151px;"></td>
<td style="width: 228px; height: 151px; vertical-align: top; text-align: left; border-top-color: Silver; border-top-width: 1px; border-top-style: solid;">
<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="228">
<param name="movie" value="AFM/button_HKA_Opportunities.swf" />
<param name="quality" value="high" />
<embed src="AFM/button_HKA_Opportunities.swf" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="228"></embed>
</object>
</td>
<td style="width: 35px;"></td>
</tr>
</table>
我將我的代碼添加到原來的問題 – mattgcon 2010-04-08 09:49:17
您的設想使我得到了正確的答案。閃光燈影片高度未設置,因此導致單元格填充出現問題。我添加了高度,並在頂部添加了一個5像素填充,效果很好。謝謝 – mattgcon 2010-04-08 10:52:12