I'm trying to achieve one hover state, but I keep getting two because the link is inside the div button!
Correct Unhovered State -
Incorrect hovered State -
Correct hovered State -
HTML -
<li>
<div id="checkoutbutton">
<p><a href="somegoogle.com">Print Pages</a></p>
</div>
</li>
CSS-
#checkoutbutton {
width: 137px;
height: 40px;
background-color: #ffffff;
moz-border-radius: 15px;
-webkit-border-radius: 15px;
border: 1px solid #f49131;
padding: 5px;
color: #f49131;
}
#checkoutbutton:hover {
background-color: #f46800;
color:white;
}
#checkoutbutton a {
color: #f49131;
vertical-align: middle;
}