Jerley Garcia Jerley Garcia - 1 year ago 84
CSS Question

CSS style on Input not working

I have these codes and the styles are not working.
Please any clue?


<input class="button" type="button" onclick="bet_player()" value="Click to Start Betting"></input>


.button {
border-style: solid;
border-color: #000;
width: 150px;
height: 80px;
background-color: red;

Answer Source

Your CSS is invalid:

#p1cash, #p2cash {
  font-size: 22px;
  font-weight: bold;
  color: #000000;
**)** --- here should be }

and there is no font-color property - it's just color


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download