Unfortunately there is no way to target the parent of an element with CSS, not even with CSS3. You have two options (that I can think of). The simplest one would be to just give the anchor tags that you want to target (i.e. the ones containing images) a class value, e.g.:
HTML Code:
<a href="/" class="imageanchor"><img src="back.png></a>
Then use CSS to remove the border.
Another option is to use JavaScript to target the anchor tags that have image tags as child elements (jQuery would be easy to use for this). This is of course more complicated and will not work if JavaScript is turned off. I would only recommend this if you for some reason cannot ad a class value to the anchor tags.
Good luck!
Bookmarks