Question

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

Was it helpful?

Solution

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'>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top