Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 93817

Removing inline styles except one property...

$
0
0

Hi I have a table in my code with background images... here is an example:

 

<td style="background-color:transparent;background-image:url(image/donnac.gif);background-repeat:no-r epeat;background-position:center center;border:1px #FFFFFF solid;text-align:center;vertical-align:middle;height:44px;"></td>

 

I want to remove all the inline styles except for: background-image:url(image/donnac.gif);

 

In other words I want to keep the background-image property but remove everything else. The table is massive so I can't really go through every entry and remove the other styles manually.

 

Is this possible using dreamweaver?... I have tried using the find and replace, but this removes everything in the styles attribute:

 

Screenshot_1.png

I can't find a way to set it up correctly... can anyone help?

 

-thanks


Viewing all articles
Browse latest Browse all 93817

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>