Corrupt Code in FrontPage

Question
Sometimes when I'm copying and pasting some HTML code from a website, Front Page will corrupt the code. This does not always happen, but it's often enough that it's annoying.
Here is an example of a small snippet of code:
Here is the code I would copy:
style="text-decoration:none">getVOTD by e-mail!</a></font><br><font face="Verdana" size="1">********
Here is what FrontPage does when I paste the code into the HTML tab:
style="text-decoration:none"&gt;getVOTD by
e-mail!&lt;/a&gt;&lt;/font&gt;&lt;br&gt;&lt;font face="Verdana"
size="1"&gt;&lt;script
The > gets replaced with &gt;.
The < gets replaced with &lt;.
If I view the Normal and Preview tabs, the code appears correctly as text, with the exact < and > as copied.
It's a pain having to fix the code when this happens. Any ideas as to why this happens?

Answer
I don't know why that happens, but it happens in Word, too. What I usually do as a workaround is paste the code into Notepad, then copy that into Word or Front Page. It's a pain, but it works.

Answer
boomer981, you have saved me! I just tried that and it works!
I don't understand it, but hey...
Truly, I've never used Notepad before, but now I've got a compelling reason to.
Thank you again!

Answer
The reason is that FrontPage is trying to be smart.. It's looking at the underlying code rather than the resulting code.
Aside from the work-a-round posted above, you should also change this setting in frontpage..
Tools > Page Options > Click the "HTML Source" tab > Select the radio button "Preserve existing HTML".
It will solve lots of problems.
If at all possible, dump frontpage now. As you get better with HTML, you will learn to hate it and wish you never used it..
-Jim

Answer
Hah! Never knew that was there. Thanks, Jim.
Edited to add: That was already checked in mine, and FP has always messed up code I copy.

Answer
Your welcome, and I should have said...
"It will solve lots of other problems. "
-Jim

Answer
Thanks, Jim, I just looked at my settings and that radio button was already checked.
The Notepad workaround is awesome! It saved my butt over and over yesterday.
I do have a book on HTML. What software do you recommend in place of FrontPage?

Answer
Glad it worked. I hate when M$ tries to think for me....

Answer
I use frontpage also, just wondering what else would be recommended

Answer
yea what else can we use I'm just startign to code i so don't know enough to get a page up and running and all i know is not to use front page.
one thing i have found that kinda works is using turbo lister i go into design mode make it look right
then go to html mode and copy
© 2007 www.aqcollection.com | Contact us |