Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Orion27

macrumors member
Original poster
Feb 23, 2003
49
0
I'm having trouble figuring out how to view
my html text in Safari. Netscape used to
let me go to the file menue and choose Open Page. From there I could flip back and forth between editor and netscape to review my changes as I built the web page. It seems Safari only will just open the file as text. How do I get Safari to see it as a web page?
 
Do you have the html extension? I have no issues in viewing local html files in Safari. I only wish I could have DW automatically open files in Safari to preview.

(Actually, the newer version does :) )
 
I used to toggle between netscape 4.7 and my text editor and never required an html extension.
Interestingly enough, I having the same problem in the 1.2.1 Mozilla. Netscape 4.7 used to have in the file menue , Open Page... This would open a
dialog where you could choose the text file,
written in html, and navigator would display it
as web page. I would toggle between both to edit
text and see the result in Navigator. No html extension required.
 
If you make sure your files are named _____.html you shouldn't have a problem. If the files dont have the .html on the end, then safari thinks that they are just plain text files and opens them accordingly. Adding the .html should solve the problem.

Hope this helps.
 
O.K. Can anyone explain is this a convention
proscribed by X? Why did I not require .html
extension in Netscape 4.7? Why would the file
recognition be less seemless in X? Netscape 7
also now requires the extension html to seen.
Previously, Navigator would just open the text
file and see it as html?
 
I'm sure someone else can answer this question better, but I'll give it a shot. In OS X, being that it is UNIX based, the files rely much more on what the extension is, .txt, .doc, .rtf, .html, to decide what application opens the file. In OS 9 this information was stored as a seperate part of the file, so it didn't matter what the extension was, the system decided what program opened it by what this part of the file said. The system that OS X uses is much more reliable in my experience, but to each their own.

Once again, hope this helps.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.