Stan I don't think so. I copied the supplied code and use it. The BODY{background-color:skyblue}; is still in the string that is generated. I really have absolutely no idea what the OP is actually trying to do since the question appears to have changed in the middle of the thread.