thank you for the details, but you are not answering the questions i am asking:
Are you pasting the code into the CMS Window in code View or in design View?
If you are posting it in design view, what does the code look like if you switch to code view?