HTML File Display Anomaly

J

Jay

XP-Pro
Browser: doesn't matter

Downloaded several HTML files to a folder on the desktop. Dbl-Clicked
one and it displays all garbled up in ANY browser, doesn't matter.

Copy/move any file out to the desktop and dbl-clicking it looks ok in
any browser. All html files downloaded to a folder then copied out to
the desktop does the same as explained.

Files contain CSS if that makes a difference.

Comments?

Thanks, Jay
 
J

Jon

Wasn't it "Jay" <[email protected]> in message
, who said something
like......???
XP-Pro
Browser: doesn't matter

Downloaded several HTML files to a folder on the desktop. Dbl-Clicked
one and it displays all garbled up in ANY browser, doesn't matter.

Copy/move any file out to the desktop and dbl-clicking it looks ok in
any browser. All html files downloaded to a folder then copied out to
the desktop does the same as explained.

Files contain CSS if that makes a difference.

Comments?

Thanks, Jay


Probably is to do with location of its support files - images or the .css
file(s) (especially if it uses external stylesheets). If you right-click the
html files and choose "Edit" and explore its code , then you can see where
it's looking for the various files.
 
J

Jay

On 05.10.2006 04:15, Jon wrote:

--- Original Message ---
Wasn't it "Jay" <[email protected]> in message
, who said something
like......???


Probably is to do with location of its support files - images or the .css
file(s) (especially if it uses external stylesheets). If you right-click the
html files and choose "Edit" and explore its code , then you can see where
it's looking for the various files.

That's not it as there are no external support files. But even so, that
doesn't explain why it works if I dbl-click the same file located on the
"Desktop". I'm thinking folder properties of some sort. Why does it NOT
work when the html file is located inside a folder and it DOES work from
the desktop. Puzzling to say the least.


Jay
 
J

Jon

Jay said:
On 05.10.2006 04:15, Jon wrote:

--- Original Message ---


That's not it as there are no external support files. But even so, that
doesn't explain why it works if I dbl-click the same file located on the
"Desktop". I'm thinking folder properties of some sort. Why does it NOT
work when the html file is located inside a folder and it DOES work from
the desktop. Puzzling to say the least.


Jay

One possibility.....

There are 2 html options in the File > Save as.. "Save as type" dropdown
box, when saving a web page - you can save it as "webpage complete"
(downloads all support files too) or as "html only" (just downloads the .htm
page) . Now what may have happened, is that when you saved it to your
folder, you saved it as "html only" (which only downloads the .html files
and not their support files).

It may work on the desktop, since there may be a hidden folder containing
the necessary support files eg from a previous download. It may be hidden
from view. You can test this possibility by opening any folder on your
desktop and then clicking the up arrow on the taskbar and looking for any
extra folders that are not on your main desktop view.

Copying the .htm file from the folder to the desktop would overwrite the
original .htm file, but not its support files, so they would remain.
 
J

Jay

On 05.10.2006 08:08, Jon wrote:

--- Original Message ---
One possibility.....

There are 2 html options in the File > Save as.. "Save as type" dropdown
box, when saving a web page - you can save it as "webpage complete"
(downloads all support files too) or as "html only" (just downloads the .htm
page) . Now what may have happened, is that when you saved it to your
folder, you saved it as "html only" (which only downloads the .html files
and not their support files).

It may work on the desktop, since there may be a hidden folder containing
the necessary support files eg from a previous download. It may be hidden
from view. You can test this possibility by opening any folder on your
desktop and then clicking the up arrow on the taskbar and looking for any
extra folders that are not on your main desktop view.

Copying the .htm file from the folder to the desktop would overwrite the
original .htm file, but not its support files, so they would remain.

The file was downloaded from my server directly inside a folder as well
as to the desktop. The one in the folder displays as junk and the one on
the desktop displays ok, support files has nothing to do with it.

Still puzzled ....
 
J

Jay

On 05.10.2006 04:15, Jon wrote:

--- Original Message ---
Probably is to do with location of its support files - images or the .css
file(s) (especially if it uses external stylesheets). If you right-click the
html files and choose "Edit" and explore its code , then you can see where
it's looking for the various files.

Well shame on ME !!!!

I wasn't relating "support files" with image files. What I did was to
download the entire directory off the server, complete WITH images. The
pointers to the images in the html in the same directory and for
whatever reason the images were corrupted and that's the reason for the
messy pages. So ... when the html file alone was moved out to the
desktop, just the placeholders were present for the images and the page
displayed ok ...

Thanks for the heads up. Realized what I did after reading your reply a
few times. Blargghh !! :)

Jay
 
J

Jon

You may well be aware that "Jay said:
On 05.10.2006 04:15, Jon wrote:

--- Original Message ---


Well shame on ME !!!!

I wasn't relating "support files" with image files. What I did was to
download the entire directory off the server, complete WITH images. The
pointers to the images in the html in the same directory and for
whatever reason the images were corrupted and that's the reason for the
messy pages. So ... when the html file alone was moved out to the
desktop, just the placeholders were present for the images and the page
displayed ok ...

Thanks for the heads up. Realized what I did after reading your reply a
few times. Blargghh !! :)

Jay

You're welcome. Thanks for taking the time to post back with the solution.
 
G

Guest

Jay said:
On 05.10.2006 04:15, Jon wrote:

--- Original Message ---


Well shame on ME !!!!

I wasn't relating "support files" with image files. What I did was to
download the entire directory off the server, complete WITH images. The
pointers to the images in the html in the same directory and for
whatever reason the images were corrupted and that's the reason for the
messy pages. So ... when the html file alone was moved out to the
desktop, just the placeholders were present for the images and the page
displayed ok ...

Thanks for the heads up. Realized what I did after reading your reply a
few times. Blargghh !! :)

Jay

Hi Jay,
==> Wrong you should use a proper FTP to download your files and folders
from your Server, in your case you download Images in *ASCII* Mood not in
*Binary* Mood.
=> For Images to show and not corrupt you should download it in a Binary
Mood and Text,docs in ASCII Mood.
I don't know what FTP you did use, is it MS FTP or other Tools.
HTH.
Please let us know.
Regards,
nass
 
J

Jay

On 06.10.2006 03:25, nass wrote:

--- Original Message ---
Hi Jay,
==> Wrong you should use a proper FTP to download your files and folders
from your Server, in your case you download Images in *ASCII* Mood not in
*Binary* Mood.
=> For Images to show and not corrupt you should download it in a Binary
Mood and Text,docs in ASCII Mood.
I don't know what FTP you did use, is it MS FTP or other Tools.
HTH.
Please let us know.
Regards,
nass

FreeBSD Server
Downloaded with WinSCP in auto-mode.

This particular directory was the only one that did this. All others
downloaded just fine, images and all. Re-uploading the problem directory
and non-corrupted images did the trick, no problems thereafter. That
particular directory w/images had been there for almost 4 years and had
been through lots of changes, server migrations and the like. All is
well now that the directory has been "refreshed" so to speak.

Thanks, Jay
 

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