I think I have it fixed. I deleted the CSSMenuWriter directory from my website and then tried creating a menu. It worked fine. I saved and reopened my page and did an edit to the menu and again it worked fine. Saved again, exit, reopen, add a new menu and edit the same and still works fine. I don't know why old CCS code seemed to cause me error but it did.
Back on track. Thanks.