garbage at bottom of page (Full Version)

All Forums >> [Web Development] >> Microsoft FrontPage Help



Message


C -> garbage at bottom of page (6/20/2002 11:46:13)

Hi!
This problem keeps happening on various
pages I'm making with FP:
When I look at the page in the browesr, I
see some "garbage" at the bottom which is
actually some text or code which is repeated from the <body>.
But when I go back to FP and look underneath
the </html> line where this garbage has
evidently been put, I can't SEE it. There is
nothing there.
I assume I've made some mistake around the
place in the body where this "garbage" is
rightfully supposed to be but I'm not
sure what it could be.
Everything "works" on the page, just that
there is this unsightly garbage at the very bottom when viewed in browser.
Am I the only one with this problem?
Thanks,
C





erinatkins -> RE: garbage at bottom of page (6/20/2002 12:02:24)

Do you have a URl We can look at.


Erin

 




C -> RE: garbage at bottom of page (6/20/2002 12:30:15)

ok, just extracted one case:

http://students.washington.edu/irina/other_stuff/garbage.htm

The offending line is at the very bottom where it says:
p class="MsoNormal" align="right">

(since this code appears often, you may not
be able to trace it. If you search for text
"I myself suffer", I believe the problem
is coming from the neighborhood of that line)

Thanks for your assistance!







Gil -> RE: garbage at bottom of page (6/20/2002 13:04:49)

That line is after the closing BODY and HTML </body> & </html> tags. It appears to be a MS Office tag - if you used MS Word to do any of the web pages that would explain a lot.

Gil Harvey
The Host Factory
Resellers are our Specialty
Find a Web Professional





C -> RE: garbage at bottom of page (6/20/2002 13:15:36)

I did indeed copy/paste from Word. I need the
sophisticated word processing features
of Word for what I'm trying to do. I can't type it directly in FP. I'd
love to get rid of some of the formatting
tags from Word but things go awry every
time I try to hand-remove any.
I know how to save a Word doc as text only
but for a long, complicated table such as
I have here, it would be extremely difficult
to re-create in FP.
I've suspected this "garbage" may be related
to copy/pasting from Word, but it happens
in such a random fashion, I can't tell what's
going on.





Gil -> RE: garbage at bottom of page (6/20/2002 13:34:40)

Well, if you use Word to write web pages/documents you'll never have 'clean' HTML. With large (long) documents, I've found that laying out the table(s) first then cutting & pasting into notepad, then cutting & pasting into FP works and doesn't really take that long. Any, it's worth the extra time if it works - because using Word will not...

Gil Harvey
The Host Factory
Resellers are our Specialty
Find a Web Professional





erinatkins -> RE: garbage at bottom of page (6/20/2002 13:35:06)

C

I have had that problem also. If you go into the HTML view you can delete the :
p class="MsoNormal" align="right"><b>
It is right after the html tag as GIl mentioned.

Word does not always play nice as you have found out.

When you use word files always check the Html view & make the changes you need.

Erin

 




C -> RE: garbage at bottom of page (6/20/2002 13:42:55)

Thanks for coming to my assistance.

For now, the Word->notepad->FP option just would be too much. I've got a lot of these
tables.

Now, I'm looking at the HTML view but I can't
see this "garbage" after the bottom </html> tag. In order that I might delete it, I need to see it. Where is it hiding? How can I get rid of it?
If Word tags ARE causing the problem, why only this one random line?
Any ideas?





erinatkins -> RE: garbage at bottom of page (6/20/2002 13:49:39)

The reason I can see it is I am looking at it from the site & I am clicking view source & it is showing it there. You might want to see it there & see if you track it down.

Bringing word in has been a problem on a few sites when I have tried it. I do not know why but it always seems to be a problem.

Like Gil I use word or text pad to avoid these issues & use cut & paste . I can see with this page where it could be to much.

You might want to try deletiing the last p class="MsoNormal" align="right"> & see if that clears it up. no promises.

Erin


 




C -> RE: garbage at bottom of page (6/20/2002 13:58:54)

I can also see it in "source" where it
appears after the </html>.
However, it is not actually there! I can't
make it go away. (ok, now I'm losing my
credibility!)
But you're right, I'll have to go up to its
occurance in the <body> and fiddle with it.
I just wanted to make sure this wasn't some
common problem that folks have got a quick
fix for.
Again, thanks for your input!





ScribeVision -> RE: garbage at bottom of page (6/20/2002 15:15:04)

Hi,

If you view source in Notepad and do a find on p class="MsoNormal" align="right and keep doing a "find next" you will eventually find a line where the '<' is missing.

 




C -> RE: garbage at bottom of page (6/20/2002 15:38:24)

Hi,
I'd be thrilled if such a simple thing is
the root of the problem.
Only thing....I searched as you said and
can't find any missing "<".
Can you give a longer string to search for and say exactly which "<" is missing please?
Thanks!





Charles W Davis -> RE: garbage at bottom of page (6/20/2002 19:18:57)

C,

The longer string is:
quote:
ml>p class


It should be:
quote:
ml><p clas


Enjoy! It's your endeavor!
Chuck, the male ladybug. http://www.anthemwebs.com
http://www.moderncabinetmaking.com

Edited by - Charles W Davis on 06/20/2002 19:21:39

Edited by - Charles W Davis on 06/20/2002 19:22:27




C -> RE: garbage at bottom of page (6/20/2002 20:01:32)

I'm sorry but I think that's the one after
the </html> tag, right?
I need the case where it appears in the
body, then hopefully this one getting
dumped after the </html> will go away.
Wish I didn't sound so dumb....





Charles W Davis -> RE: garbage at bottom of page (6/20/2002 20:24:24)

C,

The entire thing is at the bottom of the page and reads:
quote:
</body>
</html>p class="MsoNormal" align="right"><b>

It should read:
quote:
</body>
</html><p class="MsoNormal" align="right"><b>

Try it you'll like it!

Enjoy! It's your endeavor!
Chuck, the male ladybug. http://www.anthemwebs.com
http://www.moderncabinetmaking.com




C -> RE: garbage at bottom of page (6/20/2002 20:30:54)

I know about that one but getting rid of
it doesn't do anything.
Another one just like it gets dumped
right back there at the bottom.
If you find a missing < or some other
error up in the body somewhere I think that will keep this garbage
from getting dumped here.






Charles W Davis -> RE: garbage at bottom of page (6/21/2002 13:50:30)

C,

Open the site. In IE, choose Source from the View menu. Then search the code for the missing tag.

Enjoy! It's your endeavor!
Chuck, the male ladybug. http://www.anthemwebs.com
http://www.moderncabinetmaking.com




C -> RE: garbage at bottom of page (6/21/2002 14:06:36)

I've tried. Can't find the missing tag in the <body>.
I DO see it after </html> but removing it
from there doesn't make the problem go away.

BTW, how come I can at least SEE this garbage
after the </html> in Notepad but I can't
see it while in HTML mode in FP?





Charles W Davis -> RE: garbage at bottom of page (6/21/2002 15:26:47)

C,

There is a missing </P> near the top of the page:
quote:
<body onload="self.focus()">

<p><div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>
<script language="JavaScript" src="overlib.js"><!-- overLIB (c) Erik Bosrup --></script>



<h1 align="right" dir="RTL" style="text-align: center">


Enjoy! It's your endeavor!
Chuck, the male ladybug. http://www.anthemwebs.com
http://www.moderncabinetmaking.com




C -> RE: garbage at bottom of page (6/21/2002 16:51:47)

Thanks.
I removed the <p> there since it was not
doing anything.
This did not have any effect.
Then, just for the heck of it I removed all
<b> and </b> tags since I thought I saw
a few unmatched </b>'s.
However, this has resulted in even more garbage being dumped!
In any case IE usually isn't picky about
unclosed tags.
There is something more interesting going on
here.





Gil -> RE: garbage at bottom of page (6/21/2002 18:46:42)

I've had a couple of clients that used Word to make some of their web pages and I spent a few hours trying to "fix" it. Found out it was easier and quicker to rebuild the tables in Frontpage.

Gil Harvey
The Host Factory
Resellers are our Specialty
Find a Web Professional





C -> RE: garbage at bottom of page (6/21/2002 19:10:30)

I'm getting that impression too!
But MY tables are really a nightmare
to format and I'd settle for a little
garbage at the bottom if necessary.
I think someone needs to invent some importing tool here. Or maybe the next version of FP will
have all the word-processing abilities of
Word then I could just make the thing in
FP in the first place.
Well, thank you all for taking a look. I think we'd better call off the search but
I'll let you know if I find any easy solution.





cedubose -> RE: garbage at bottom of page (6/22/2002 3:38:52)

C:

I can't see your page since it is not there anymore, but just a couple of notes:

<p> tags don't have to be closed, so that is not the problem.

Usually, if something appears out of place at the bottom or the top, it means it was not inside a table cell, and the browser didn't know what to do with it, so it put it outside the table. It doesn't mean the text itself will be found at the bottom or the top if you look at the HTML.

I would look for an unclosed <td> or <tr> tag, or something along those lines.

Cynthia





Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.171875