replace current html image with css -
i having issues trying replace image css, have no access html.
<img width="64" height="64" border="0" style="width: 64px; height: 64px;" src="http://www.nitrografixx.com/2013/lock-icon.gif"> </img> i tried this, , while adds image background current image, doesn't replace it.
img[src='http://www.nitrografixx.com/2013/lock-icon.gif'] { background: url(http://www.nitrografixx.com/2013/lock_bg.jpg) center !important; }
try this
<style> .classname{ content:url("http://www.nitrografixx.com/2013/lock_bg.jpg"); } </style> <img class="classname"/>
Comments
Post a Comment