문제

i trying to make styling my button on html, but in IE 7 it doesnt change anymore,

this is my css code :

input[type=submit]{
background:url('../images/btn_login.png')repeat-x; 
color:white;
font-size:15px;
border-radius:5px;
}

and this is my html code :

<input type='submit' value='Masuk'>

it would appear on other browser like firefox or chrome, but it like doesnt change on IE 7 perhaps i need add some specific css code for IE?

thanks

도움이 되었습니까?

해결책

You can use it by make it as a class .btn { background:url('../images/btn_login.png')repeat-x; color:white; font-size:15px; border-radius:5px; }

and then call it you html code

<input type='submit' value='Masuk' class='btn'>
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top