I'm attempting to add button functionality to show and hide errors using CSS.
By clicking the CSS button or link, I can target the siblings of the focused element as shown below. This method is only effective in IE8+ browsers.
#ShowErrors:focus + a + a + a + div ul li.Error{
display: list-item;
}
Unfortunately, focus does not function in IE7, and :active doesn't work either. Only hover seems to successfully select siblings. However, I aim to achieve a button-like behavior. Is there a way to accomplish this using just CSS in IE7? #ShowErrors represents a link ().