I have a large collection of html written with fixed colors that I want to
convert to CSS.  The lines that need changing look like this:

<BODY bgcolor="#CCFFFF"  text="#000066"  link="#006600"  vlink="#003300"
alink="#00FF00" >

<TABLE border="0" cellpadding="5" cellspacing="2" width="100%"
bgcolor="#CCFFFF" >


And once changed should look like this:


<link rel="stylesheet" href="../../../style.css" type="text/css"><BODY>

<TABLE border="0" cellpadding="5" cellspacing="2" width="100%">



How can I write a script that will do this automatically?


 - Doug


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to