Magic changing HTML?

T

Tat

OK, here's a doozie, and I wouldn't even know where to start a google search
to figure this one out.
About a month ago, I bought MS FP 2003 and installed it on two computers in
my home. My wife and I played around with it a while, then she built a page
on her computer and emailed it to me so I could place it in the web site we
are builiding.
Tonight, I was going through and adding robot commads to the finished pages
to get them ready to publish. When I opened the page she had done, the HTML
was completely different than every other page.

This is how all the pages built on my computer look:

<html>

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="robots" content="index, follow" />
<meta name="googlebot" content="index, follow" />
<meta name="msnbot" content="index, follow" />
<meta name="slurp" content="index, follow" />
<title>Shoes, Auto, Automotive, Truck, Parts, Accessories.<title>
<meta name="Microsoft Theme" content="copy-of-slate 1011">
<meta name="Microsoft Border" content="tb, default">
</head>

This is how the page built on her compter looks now that it is saved to FP
in my computer (It has been deleted from her computer, so I have no idea if
it was changed prior to it being emailed or not):

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Art, Photo, Music, </TITLE>
<META http-equiv=Content-Language content=en-us>
<META content="Microsoft FrontPage 6.0" name=GENERATOR>
<META content=FrontPage.Editor.Document name=ProgId>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<STYLE>P {
FONT-SIZE: 12pt; MARGIN-LEFT: 0in; MARGIN-RIGHT: 0in; FONT-FAMILY: "Arial
Unicode MS"
}
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman";
mso-style-parent: ""
}
</STYLE>

<meta name="Microsoft Theme" content="copy-of-slate 1011, default">
<meta name="Microsoft Border" content="tb, default">
</HEAD>

I can 100% guarantee neither my wife or myself physically went in and
changed the HTML at any time, INCLUDING adding the DOCTYPE, since I just
recently figured out what that is.
The only work she did to the page was add some hand written text in cells,
and some text links from some merchants in cells within the body, the same as
I have done to my pages.
Since this page was originally built and mailed, I have played with a lot of
features in FP at various times, so if I did something to cause this change,
I have no clue what it was. One thing that really has me confused is the
fact that not only has the HTML in the head changed, but almost all of the
HTML commands throughout the whole page she built are now in caps instead of
lower case.
I've had her create two test pages on her compter and mail them to me to see
if that had something to do with it, but the two test pages have the origianl
FP HTML layout as all the pages built on my computer.
Anyone have any idea what I must have done to cause these changes?
 
R

Ronx

P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman";
mso-style-parent: ""
}

indicates the page has been edited in Word or Publisher.
 
T

Tat

Thank you Ronx.
I don't have Publisher, so I tested the Word theory. With a new page, and a
copy of an existing page, the results were:

<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:eek:="urn:schemas-microsoft-com:eek:ffice:eek:ffice"
xmlns:w="urn:schemas-microsoft-com:eek:ffice:word"
xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
xmlns="http://www.w3.org/TR/REC-html40">

This info was at the top of both pages, and both pages had 1690 lines of
info added to the HTML befoer the <meta http-equiv=Content-Language
content=en-us>. Also, all the tags all stayed in lower case on both pages.

If you have any other ideas as to how the original changes took place,
please let me know and I will try them as well.

Thank you again.
 
R

Ronx

MsoNormal is a style that is produced in Word, Excel, Publisher or
PowerPoint, and additionally Word adds margins measured in inches, so the
text was edited in one of those applications. It may have been cut and
pasted into another document from the original.
Saving a web page from Internet Explorer will create tags in all caps, as
will saving from Netscape 4.

I know Office applications create bloated code, but I have never seen any
Microsoft application add 1690 lines of code in the <head> section of a
page - that is well over the top.
 
T

Tat

Thak you again Ronx.
The only program you mention that I have is Word, and the page was built off
line since I haven't published the site yet. Other than last night, when I
added the robot info and the charset to completed pages, all copy & paste
actions were done in design mode, never in Code or Split.
It's not something I'm worried about, and I'm going to leave the info as is
to see if it reacts differently when published. It's just very odd that all
the info was moved around, and a DOCTYPE was added (Before I even knew what
they were).

I know it sounds unbelievable, but I can guarantee I didn't paste it there
myself the HTML mode. Until last night, I was too afraid to mess with the
HTML itself, other than adding a break in a few lines of text.
I know it had to be something I did, I just have no clue what it was. Maybe
a text link pasted into a cell somwhere in design mode may have done it, I
don't know.

Regarding the additional lines MS Word added, it is consitantly 1690,
regardless of whether or not it is a new page, or a copy of one of the pages
I built, and it is always in the <head> section. This is an example of what
is added in those lines if it is any help:

p.ms-rtapplybackground, li.ms-rtapplybackground, div.ms-rtapplybackground
{mso-style-name:ms-rtapplybackground;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
p.ms-rtremovebackground, li.ms-rtremovebackground, div.ms-rtremovebackground
{mso-style-name:ms-rtremovebackground;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
p.ms-rttoolbardefaultstyle, li.ms-rttoolbardefaultstyle,
div.ms-rttoolbardefaultstyle
{mso-style-name:ms-rttoolbardefaultstyle;
font-size:8.0pt;
font-family:Verdana;
mso-fareast-font-family:"Times New Roman";
mso-bidi-font-family:"Times New Roman";}

As I said, I'm not worried about it at this point, just very curious, & if
there is anything else you would like me to try to see what did happen, I
will be glad to.

Thank you again.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top