Re: [問題] css firefox,ie顯示不同
之前po了文,不過沒附上實際網址,
這一篇補上,先感謝指教,
css firefox不正常,ie沒問題,
====
網址:http://www.ee.ntu.edu.tw/eeoffice/tmp.php
IE: http://www2.ee.ntu.edu.tw/~b9901117/tmp1.jpg


css如下:
.iBtn a:link{
color: #001EFF; font-size:9pt; letter-spacing: 1px; text-decoration:none;
padding: 0px !important; padding-top: 8px; width: 160px; height: 28px;
background-image: url(../../image/stu_image/iBtn.gif);
background-repeat: no-repeat; margin: 0 auto;}
.Btn a:visited{除了顏色以外同上}
.Btn a:hovor{除了顏色以外同上}
html:
<td valign="top" align="center" width="160" height="28" class="iBtn">
<a href="index_stu.php?cat=news_stu"> 最新消息 </a></td>
====
測試結果,css內的 width: 160px; height: 28px在firefox內沒有作用,
button的背景圖只貼在有連結字後面,沒辦法攤開成160*28
====
感謝高手幫忙指教,Thanks~
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.42.22
→
09/06 00:32,
09/06 00:32
→
09/06 09:33,
09/06 09:33
推
09/06 10:12,
09/06 10:12
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.42.22
推
09/06 15:27, , 1F
09/06 15:27, 1F
推
09/06 17:22, , 2F
09/06 17:22, 2F
推
09/06 18:41, , 3F
09/06 18:41, 3F
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 5 篇):