Results 1 to 6 of 6
  1. #1
    timboy
    Guest
    Problems creating web pages
    I've recently bought a Mac mini primarily to test my web pages developed on a pc. I'm having problems setting up the apache side of things, but I need to answer a more fundamental problem first.

    The most basic way to create a web page on my pc is to open Notepad, jot down some html, file/save as test_page.html and save it to the desktop for instance. When I double-click on the page's icon, it opens my browser with the page displayed. Simple right?

    If I do this on my new Mac, I get Safari opening and displaying the code that I have written, rather than the html output.

    This then forms the basis of my problems with the apache set up. I can find the folder containing the default index page in my home folder, but when I try to save a new page in there, I just get a page showing up the code.

    Any help appreciated.

  2. #2

    dtravis7's Avatar
    Member Since
    Jan 04, 2005
    Location
    Modesto, Ca.
    Posts
    28,981
    Specs:
    iMac 2010 27" QuadI7 OSX10.11, iMac 2008 OSX10.11, MBP Late2011OSX10.11 , iPad Air, iPhone 3GS
    Quote Originally Posted by timboy
    I've recently bought a Mac mini primarily to test my web pages developed on a pc. I'm having problems setting up the apache side of things, but I need to answer a more fundamental problem first.

    The most basic way to create a web page on my pc is to open Notepad, jot down some html, file/save as test_page.html and save it to the desktop for instance. When I double-click on the page's icon, it opens my browser with the page displayed. Simple right?

    If I do this on my new Mac, I get Safari opening and displaying the code that I have written, rather than the html output.

    This then forms the basis of my problems with the apache set up. I can find the folder containing the default index page in my home folder, but when I try to save a new page in there, I just get a page showing up the code.

    Any help appreciated.
    I take it you are using Textedit in Tiger? Panther? When you open Textedit click the Textedit dropdown then perferences. Make sure Plain Text is selected instead of Rich Text. If you are running Tiger this is under the first tab of Perferences called New Document. In the Open and Save tab I also have Ignore rich text commands in HTML files checked. Make sure it saves the extension when saving the file as HTML. That should take care of your problem. I had the same problem a year and a half ago when I first messed with Panther and did my first HTML on the Mac.

  3. #3
    timboy
    Guest
    Thanks for the reply.

    Yes I'm using Textedit in Tiger and I worked out the plain text format issue myself.

    I think "Ignore rich text commands in HTML files checked" might well fix things. I'll try it later when I get home. Seemed to me that it would be something simple like this as logically it just didn't make sense.

  4. #4


    Member Since
    Sep 30, 2004
    Posts
    3,378
    For doing plain text HTML I like a program called TextWrangler

  5. #5

    dtravis7's Avatar
    Member Since
    Jan 04, 2005
    Location
    Modesto, Ca.
    Posts
    28,981
    Specs:
    iMac 2010 27" QuadI7 OSX10.11, iMac 2008 OSX10.11, MBP Late2011OSX10.11 , iPad Air, iPhone 3GS
    TextWrangler is a great text editor.

  6. #6
    timboy
    Guest
    In the Open and Save tab I also have Ignore rich text commands in HTML files checked.
    Yeah, this did the trick - thanks.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. problems downloading web pages on my macbook pro
    By benjamin163 in forum Apple Notebooks
    Replies: 0
    Last Post: 03-06-2012, 04:41 PM
  2. iWeb - Creating Sub-Pages
    By Big-Foot in forum Web Design and Hosting
    Replies: 4
    Last Post: 02-21-2008, 02:15 PM
  3. Problems opening web pages
    By Jhorra in forum OS X - Apps and Games
    Replies: 1
    Last Post: 01-22-2008, 11:33 PM
  4. Creating a checklist in Pages?
    By Sexy Patrol in forum OS X - Apps and Games
    Replies: 3
    Last Post: 10-05-2007, 08:31 PM
  5. The Worst Web Design Techniques Featured on Web Pages
    By novicew in forum Web Design and Hosting
    Replies: 1
    Last Post: 03-17-2006, 10:31 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •