I'm struggling to achieve the desired hover state because there are two states triggered due to the link being inside the div button!
Intended Unhovered State -
Unexpected Hovered State -
Desired 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;
}