PDA

View Full Version : Opening HTML document on a mac problem...




grosslyclever
Nov 4, 2009, 06:30 PM
Hi,

I have created an HTML document with code, but when I open it in Safari or firefox it shows the code instead of what it's supposed to show.

Note: I tried opening it in windows and it works fine.

Thanks in advance,
-GC



chown33
Nov 4, 2009, 07:52 PM
Does your file have the ".html" extension?

Does the file start with <html>?

Without more details of exactly what your file consists of, there's no way to tell what the problem might be.

grosslyclever
Nov 4, 2009, 07:55 PM
Does your file have the ".html" extension?

Does the file start with <html>?

Without more details of exactly what your file consists of, there's no way to tell what the problem might be.

Yes, it does.

DewGuy1999
Nov 4, 2009, 08:25 PM
Easier to help if we know what you have, can you post the document here so we can look at it?

angelwatt
Nov 4, 2009, 09:10 PM
Sounds like you used TextEdit to write the code and it got saved as rich text rather than plain text. Make sure to switch to plaint text mode, or better yet, use a real text editor. TextWrangler (http://www.barebones.com/products/TextWrangler/) is a good free one.