Computer Hope

Software => Apple => Topic started by: greenie on December 18, 2008, 01:34:30 PM

Title: Safari doesn't read html from text edit.
Post by: greenie on December 18, 2008, 01:34:30 PM
Hi, this is my first time doing any (web) developing using Safari on a Mac. Love the Mac and Safari. But I created a simple html file in Text Edit, saved it as html, opened it in Safari and it shows me the code. I could swear somebody told me somewhere there's a trick, or another text application, that must be used to write html files. Anybody know about this? Thanks.
Title: Re: Safari doesn't read html from text edit.
Post by: kpac on December 19, 2008, 10:22:39 AM
1. Open TextEdit.
2. Choose Preferences from the TextEdit application menu.
3. Click the Plain Text radio button for New Document Format.
4. Under Saving, click the checkbox to turn off "Append '.txt' extension to plain text files."
5. Under Rich text processing, click the checkbox to turn on "Ignore rich text commands in HTML files."
6. Be sure the checkbox for "Wrap to Page" is deselected.

;)
Title: Re: Safari doesn't read html from text edit.
Post by: greenie on December 19, 2008, 02:46:19 PM
Hey kpac, thanks much! I'm up and running.
Title: Re: Safari doesn't read html from text edit.
Post by: kpac on December 21, 2008, 05:19:12 AM
Good to here. :)