Click to See Complete Forum and Search --> : HELP! HTML page not reading as HTML
Duke Will
02-08-2005, 08:57 AM
This is driving me nuts. See this home page (http://www.dukewill.com) and it does not display as it should, it shows the actual text. I am on a Linux computer here, I don't know if something screwball is going on here. Anyway, upload and then try every renaming scheme I can think of to make it do right, nothing works. It should be index.html, simple as that. What the heck?
It appears to have been uploaded as ascii and not binary
Duke Will
02-08-2005, 09:16 AM
I'm no expert but html pages should be uploaded that way, right? Images are uploaded as binary but not html pages. Anyone?
All tags have been encoded so it renders as text. OpenOffice?
Duke Will
02-08-2005, 09:42 AM
Originally posted by Fang
All tags have been encoded so it renders as text. OpenOffice?
Ok, I see it has added some kind of odd code before tags. I'm having a helluva time. Converted to Linux months ago, still hit snags. I opened it in Xedit and saved, still screwed up. Man, I've wasted hours on something I've done a thousand times.
Try copying it from the webpage into Xedit and uploading that document (not the original).
Duke Will
02-08-2005, 10:14 AM
I had already done that but I did it again and now it works. I dunno but it works. Thanks.
NOPE - WEIRD! I had created the new file as index_new.html. I uploaded. Viewed it. Fine. Changed name to index.html. PROBLEM. It went back to displaying the actual code when I visited http://www.dukewill.com not the marked up page.
NOTE: Okay, interesting, when I view the page by adding index.html to the URL, as in http://www.dukewill.com/index.html it WORKS. But if I access it just as http://www.dukewill.com it's screwed. ???
Both links work correctly for me :confused:
Duke Will
02-08-2005, 10:49 AM
Originally posted by Fang
Both links work correctly for me :confused:
BIZARRE. I was using Opera (7.50) and the one without the index.html on the end does NOT work right. Then I viewed both pages in Firefox and all is well. Isn't that crazy? Crap like this drives me nuts. Sometimes I hate computers.
On windows all works fine, even in Opera.
See if someone else with Linux has a problem.
There is a problem with your DTD, replace it with:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">