I am dealing with a particular markup present on a page within an iframe, and unfortunately I do not have direct access to it. The other code on the page is irrelevant so I haven't included it here.
My only means of targeting this code is through CSS.
I have attempted to hide the close button by adding the following line to the CSS file:
img[alt='Close'] {display:none !important;}
This is the actual markup:
<td align="center"><a href='javascript:window.close()'><img src='v/vspfiles/templates/100/images/buttons/btn_close.gif' alt='Close' border=0></a></td>
The CSS rule works as expected in all browsers I've tested (Firefox, Opera, Safari), but in IE8 it seems to be ignoring the CSS and displaying the button. I'm unsure if there's an issue with the selector or possibly a syntax error.
I'm at a loss for how to proceed from here.