# Replacing original file with reformatted file! my @htmlFile = "@htmlLines"; open (OUTFILE, ">E:/Documents and Settings/Richard Lamb/My Documents/HTML/test1InDocCSS.html") or die("Can't rewrite the HTML file.\n"); print (OUTFILE @htmlFile); close (INFILE); close (OUTFILE); #### It works! Fantastic!I opened the original html file on my hard-drive and, hey-presto, no images or hyperlinks... Thanks a million Abigail, Richard