MozTW 討論區

各項 Mozilla 相關軟體與技術討論
現在的時間是 2025-08-22, 10:08

所有顯示的時間為 UTC + 8 小時





發表新文章 回覆主題  [ 2 篇文章 ] 
發表人 內容
文章發表於 : 2009-09-24, 23:51 
離線

註冊時間: 2009-09-24, 23:26
文章: 1
我利用dreamwere 寫了一個網頁針對IE去debug裡面所有都用table排版(我不太會用CSS跟DIV...)
顯示起來都非常正常,但發現利用FF開啟來沒想到table居然位置不對了...
圖檔
圖檔

這是我中間表格的原始碼
我table中的td好像變成去對其旁邊那張圖的大小不會像IE一樣網上縮,
請問有辦法跟IE一樣不要讓他對齊旁邊的圖直接往上移。
我有試過valign:top 只對文字有效旁邊有圖還是無法往上移
代碼:
<table width="996" height="379" border="0">
<tr>
            <td width="49" height="67" rowspan="4" scope="row">&nbsp;</td>
          <td colspan="2" scope="row"><p><b><font size="4"><span class="style7">●黑名單資料庫本月異動 <span class="style4" onmouseover="MM_showHideLayers('apDiv3','','show')" onmouseout="MM_showHideLayers('apDiv3','','hide')"><u>17,688</u></span> 筆</span></font></b></p>          </td>
          <td width="133" height="35" valign="baseline" scope="row"><div id="apDiv3"><img src="help/2.jpg" width="274" height="21" /></div>                        </td>
          <td width="463" height="35" valign="baseline" scope="row"><div id="apDiv4"><img src="help/5.jpg" width="220" height="21" /></div></td>
</tr>
<tr>
  <td height="23" colspan="2" scope="row"><font size="4"><b><span class="style7">●用戶嘗試連結有害網站<span class="style4"> 6,579,959 </span>次</span></b></font></td>
  <td colspan="2" rowspan="3" valign="baseline" scope="row"><img src="0908.files/image001.jpg" width="474" height="224" onmouseover="MM_showHideLayers('apDiv4','','show')" onmouseout="MM_showHideLayers('apDiv4','','hide')" /></td>
</tr>
<tr>
  <td width="67" height="239" rowspan="2" scope="row">&nbsp;</td>
  <td width="262" height="204" scope="row"><img src="help/0908.jpg" width="200" height="181" /></td>
  </tr>
<tr>
  <td height="21" scope="row">&nbsp;</td>
</tr>

          <tr>
            <td height="42" scope="row">&nbsp;</td>
            <td colspan="4" scope="row">&nbsp;</td>
        </tr>
      </table>


回頂端
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
 個人資料  
引用回覆  
文章發表於 : 2009-09-25, 15:15 
離線
[網站管理員]
頭像

註冊時間: 2002-01-07, 19:28
文章: 3080
來自: 台灣
放大圖那格的 valign="baseline" 刪掉就好了,本來也沒有必要放那個。

_________________
雜工 :: 柏強 / Bob Chao
發問討論請保持禮節,在志工社群裡沒有人有「義務」要為您做些什麼。

* MozTW 志工無限招募中,開放網路世界需要您的一臂之力


回頂端
Mozilla/5.0 (X11; U; Linux i686; zh-TW; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3
 個人資料  
引用回覆  
顯示文章 :  排序  
發表新文章 回覆主題  [ 2 篇文章 ] 

所有顯示的時間為 UTC + 8 小時


誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 21 位訪客


不能 在這個版面發表主題
不能 在這個版面回覆主題
不能 在這個版面編輯您的文章
不能 在這個版面刪除您的文章
不能 在這個版面上傳附加檔案

搜尋:
前往 :  
Powered by phpBB® Forum Software © phpBB Group
正體中文語系由 竹貓星球 維護製作
© moztw.org, Mozilla Foundation
MozTW,Mozilla 台灣社群