1
我的提交按鈕圖像消失,但只在IE7及更低版本中出現問題。我已經試過:僅在IE 7中消失背景圖像
- 添加邊框顏色
- 加入
background-color
- 加入
min-height: 22px
觸發hasLayout
- 加入
display: inline-block;
,但沒有奏效。
這是我的形式:http://www.bitstream.ca/contact.html
HTML:
<button id="submit" type="submit">Submit</button>
CSS:
#submit{
background: url('imgs/submit.png') no-repeat top;
cursor: pointer;
width: 79px;
height: 22px;
border: 1px;
text-indent: -9999px;
}
剛剛編輯我的問題,添加顯示:inline-block;無效:( –
確定顯示:塊;工作表示感謝! –