The code below is what i have so far for the configuration of my css button and all it displays right now is normal button. However, it does work if I would switch to id instead of class.
.phasesButton [type=submit]
{
clear:both;
display:block;
margin-left: auto;
margin-right: auto;
width:125px;
height:31px;
background:rgba(0,0,0, .7);
text-align:center;
line-height:31px;
color:#FFFFFF;
font-size:13px;
font-weight:bold;
margin-top:30px;
border: 1px solid #000000;
box-shadow: 0 1px 2px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .5);
cursor: pointer;
}
This is my html
<div id="phaseOne" class="frmPhaseOne">
<table width="95%">
.
.
.
</table>
<asp:Button ID="btnPhaseOne" class="phasesButton " runat="server" Text="Submit"/>
</div>
Even if I place the button outside the div or putting input[type=submit]
instead, it still would not work.