I have the following markup:
<a><div class="action_button">Log In</div></a>
I have styling on .action_button
to make it bigger and have a background etc.
I also have styling on .action_button:hover
to make it have a lighter background and an inset shadow when the user hovers on it.
How do I apply styling to the anchor tag that surrounds it, but only when it surrounds a .action_button
div.
For example, this works:
a:hover {
text-decoration:none;
}
But it affects all links, I only want to affect those that surround the .action_button
divs.