[英]input type = 'submit' styling doesn't appear in IE 7
我試圖在html上設置樣式,但在IE 7中不再更改,
這是我的CSS代碼:
input[type=submit]{
background:url('../images/btn_login.png')repeat-x;
color:white;
font-size:15px;
border-radius:5px;
}
這是我的html代碼:
<input type='submit' value='Masuk'>
它會出現在其他瀏覽器(如firefox或chrome)上,但它不會在IE 7上改變,也許我需要為IE添加一些特定的CSS代碼?
謝謝
您可以將其作為類.btn {background:url('../ images / btn_login.png')repeat-x;使用。 白顏色; font-size:15px; border-radius:5px; }
然后稱它為html代碼
<input type='submit' value='Masuk' class='btn'>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.