[thelist] greping element attributes to css

Joseph A Borg jacborg at mac.com
Mon Jun 17 12:48:10 CDT 2002


this is a very simple one, but somebody might find it useful, maybe next
version will work on an unsorted subset of attributes...

SAVE and BACKUP before experimenting...any comments welcome.

<tip type="BBEdit Lite+: changing attributes to css" author="Joseph A
Borg">

search for::		width="([0-9%pxemtc.]*)" height="([0-9%pxemtc.]*)"
replace with::	style="width:\1; height:\2;"

may I suggest you do a manual find/replace using:
	CMD T to replace and find next
	CMD G to skip and find next
</tip>




More information about the thelist mailing list