我的IE8按鈕不能顯示,也許你知道爲什麼?嘗試添加背景:透明網址('..'),但沒有幫助。這是代碼:帶背景的HTML按鈕不顯示在IE8中
.wpcf7 input.wpcf7-submit {
background: url("/wp-content/themes/ASC/images/<?=ICL_LANGUAGE_CODE;?>_submit.png") no-repeat scroll center top rgba(0, 0, 0, 0);
border: 0 none;
cursor: pointer;
height: 25px;
margin: 0;
overflow: hidden;
padding: 25px 0 0;
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
border: 1px solid #ccc;
border-color: #ccC#ccC#bbb #ccc;
border-radius: 3px;
background: #e6e6e6;
box-shadow: 0 0 0 0 black;
color: rgba(0, 0, 0, .8);
cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
font-size: 12px;
font-size: 1.2rem;
line-height: 1;
padding: .6em 1em .4em;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
不要告訴我這是在一個實際的CSS文件。 – putvande