作者b8888 (b8888)
看板Web_Design
標題[問題] iframe 問題
時間Sat Oct 25 15:22:02 2008
各位大大好~~
想請各位大大幫忙~~
不知道如何才能iframe 的高度隨著內含的網頁變化?
我試著在<iframe 中加入 heigh ="100%" 但是卻縮成小小的一條
不知我該在那裡修正?
或有什麼資料可以參考?
謝謝您的回答
<table width="100%" height="100%" border="1" cellspacing="1" cellpadding="0">
<tr>
<td height="60" colspan="3"> </td>
</tr>
<tr>
<td width="15%" height="100%" rowspan="2" valign="top"><p>yahoo</p>
<p>pchome</p></td>
<td height="100%"> </td>
<td width="15%" height="100%" rowspan="2" valign="top">123456 </td>
</tr>
<tr>
<td height="100%">
<iframe src="
http://www.pchome.com.tw" frameborder="0" name="show"
scrolling="no" width="100%" >
</iframe>
</td>
</tr>
</table>
</body>
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 163.29.241.8
→ mosluce:外面的那層TABLE 高度要固定 不然好像就是會變一條 10/25 15:24
→ b8888:謝謝您的指導;真的可以了 10/25 15:30