:after pseudo element not working properly in IE8?

This is working for me in IE8.


a.new:after {
	content:url(http://2012.designbits.de/workspace/images/sprite.png);
	clip: rect(120px, 220px, 160px, 180px);
	display: block;
 height: 160px;
 position: absolute;
 width: 330px;
 z-index: 99;
top:-121px;
left:9px;
}
a.new img.frame{position:static}


Great threat and great solution.
I was experimenting exactly the same problem… I’ve change content:“” per content:url() and add position:static to the image, and it worked

Thanks, you saved me quite a lot of time guys :wink:

Shows how old threads showing up in search can still be useful :stuck_out_tongue: