I’m using after content in CSS, but the content in <a> tag doesn’t work as a link in Google Chrome (not clickable):
<a href="url"><label></label></a>
LABEL:after {content:"CLICK HERE"}
It works in Firefox. Is there any solution to this?
Check this out in chrome:
- http://jsfiddle.net/duuRk/ (not clickable)
- http://jsfiddle.net/HMn4d/ (works fine)
If you give your ‘a’ tag the property display:inline-block it should work perfectly for you.