Modify inline image inline style with PHP Simple HTML DOM Parse
<p>I have an image with source that looks like</p>

<p><code>&lt;img alt="" src="./userfiles/images/Water%20lilies(1).jpg" style="width:800px;height:600px;" /&gt;</code></p>

<p>I'd like to find out if the width is greater than 750px if yes the need to change the style="width: xxx" to be style="width: 750px;"</p>

<p>Is this possible with the Simple DOM?</p>

<p>All i can do now it to set the width of the image which doesnt seem to work because the style overwrites it</p>

<p><code>foreach($content-&gt;find('img') as $element) {
    $element-&gt;width = '750';
}</code></p>
