Thread: Chapter 1
View Single Post
  #6 (permalink)  
Old October 23rd, 2009, 09:58 AM
jmcpeak's Avatar
jmcpeak jmcpeak is offline
Wrox Author
Points: 467, Level: 7
Points: 467, Level: 7 Points: 467, Level: 7 Points: 467, Level: 7
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2005
Location: , Texas, USA.
Posts: 87
Thanks: 0
Thanked 18 Times in 17 Posts
Default

To test the HTML, I did the following:
  1. Opened Notepad (the plain text editor in Windows)
  2. Copied the code you posted
  3. Pasted it into the text editor
  4. Saved the file to my desktop
  5. Changed its extension to .html
  6. Double-clicked the file to open it in Internet Explorer
To test it in other browsers, I did the following:
  1. Copied the file:/// URL from IE's location box
  2. Pasted the URL in the other browsers' location box to load the file into those browsers

Just so that I'm understanding correctly, when you view the HTML file in your browser, you see something like the attached screenshot?

If that's the case, then TextEdit needs to be configured for HTML editing. I'm admittedly not very familiar with TextEdit. I've used it once or twice, but I never spent much time into it. I did a quick Google search, and I found http://support.apple.com/kb/TA20406. The article was last modified in 2003, but I assume if the information changed then the article would be updated by now. It could be the solution.
Attached Images
File Type: png sshot-1.png (27.0 KB, 1 views)

Last edited by jmcpeak; October 23rd, 2009 at 10:05 AM.
Reply With Quote