Hi
I have a current coding problem. I currently have the below code as follows for all links related to anchor elements.
The problem is that this also applies itself by default to all image tags within an anchor tag.Code:a:hover { background-color:#a4cf4f; color:#FFFFFF; padding-bottom:1px; padding-left:3px; padding-right:3px; padding-top:1px; text-shadow:1px 1px 0 #0964A0 }
I need to be able to have CSS treat images within anchor tags differently to text within anchor tags. This is also through a Wordpress framework so I have no real control over the mark-up in which images are displayed.Code:<p><a href="http://www.madchaos.com.au/image.jpg"><img src="http://www.madchaos.com.au/" /></a></p>



Reply With Quote

Bookmarks