سؤال

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