Currently, I am working with asp.net mvc4 and encountering an issue where the button's color does not change when hovered over. The default blue focus always remains on the button. Can someone assist me in resolving this problem? I am using Internet Explorer 8.
view :
<input type="button" class="dynamicButton" value="button" id="btnSearch"/>
css:
.dynamicButton
{
height: 25px;
width:auto;
min-width: 11%;
}
.dynamicButton:hover
{
background-color:#4F2D7F;
color:white;
}
Additionally, I have included the following line:
<!doctype html>
However, after adding it, my page layout is being altered.