Forum Moderators: travelin cat

Message Too Old, No Replies

OS 10 and html files.

Possible to make it so .html files show up as text files and not HTML?

         

Jesse_Smith

4:31 am on Jul 5, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Is it possible to make it so .html files show up as text files and not HTML files?

jamesa

10:47 am on Jul 5, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The easiest is do a Get Info (Cmd+i) and set "Open with" to the application you want the file to open with by default, and click "Change All..." so that all files of that type will open with the select app.

Yidaki

3:31 pm on Jul 5, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Jesse,

it would be more helpfull if you'd describe your problem more excatly. Which application should show the html files as text? The built in apache server? The OSX text editor?

I suppose you mean the text editor because by default it opens html files in wysiwyg mode which is somehow disturbing or at least confusing. If that's your problem just edit the preferences of TextEdit. There's a option you can set so that html files are not rendered but opened as plain text instead.

HTH

Jesse_Smith

7:14 pm on Jul 5, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes, it was TextEdit. One thing I did that mostly fixed it was puting TextEdit in the trash can, then opened a html file, got TextEdit back out of the trashcan and into a different hard-drive, and now all the HTML documents open with SimpleText, except the ones that got turned into a Rich Text Format file.

jamesa

4:37 am on Jul 6, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



ahh, yes that is annoying.

Been toying with it... checking "ignore rich text commands in HTML files" in the TextEdit preferences takes care of that. Turns out there's also a similar checkbox in the Open dialog as well.