I am familiar with using text-decoration: none
in divs
and spans
. However it doesn't seem to work in buttons. I have the following HTML:
<a href="upgrade.php">
<input type="button" class="Buttons" id="Upgrade" value="Upgrade">
</a>
and CSS:
.Buttons {
background-color:#D93F87;
height:50px;
width:100px;
border-radius:10px;
font-size:32px;
color:#FFFFFF;
text-align:center;
text-shadow: -2px 0 #CCC, 0 1px #CCC, 1px 0 black, 0 -1px black;
padding-bottom:4px;
margin:10px;
}
#Upgrade {
width:150px;
}
#Upgrade a {
text-decoration:none;
}
But I still get an underline. I have tried variations using span but that does not help either. Am I doing something wrong above?