Hello,
I want to replace my background images dynamically that are available inside divs & spans. e.g.
<div style="background-image:images/bg.jpg;color:blue;text-align:center">
blah blah blah
</div>
I want to replace images/bg.jpg to sites/1/images/bg.jpg using SimpleHTMLDom. How can I do that?
I referred its manual but I haven't found any method to replace background-image directly with keeping other css properties intact.
Any help would be appreciated.
Thanks.