New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

Problems creating web pages


Post Reply New Thread Subscribe

 
Thread Tools
timboy
Guest
 
Posts: n/a

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.
QUOTE Thanks
dtravis7

 
dtravis7's Avatar
 
Member Since: Jan 04, 2005
Location: Modesto, Ca.
Posts: 27,784
dtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond repute
Mac Specs: iMac 2.4 C2D 10.10, iMac 2.16 C2d 10.6.8, Macbook2007 10.8.4, Mac Mini 10.8.4, iPhone 3GS Note 8!!

dtravis7 is offline
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.
QUOTE Thanks
timboy
Guest
 
Posts: n/a

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.
QUOTE Thanks
mynameis

 
Member Since: Sep 30, 2004
Posts: 3,378
mynameis is just really nicemynameis is just really nicemynameis is just really nicemynameis is just really nice

mynameis is offline
For doing plain text HTML I like a program called TextWrangler
QUOTE Thanks
dtravis7

 
dtravis7's Avatar
 
Member Since: Jan 04, 2005
Location: Modesto, Ca.
Posts: 27,784
dtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond reputedtravis7 has a reputation beyond repute
Mac Specs: iMac 2.4 C2D 10.10, iMac 2.16 C2d 10.6.8, Macbook2007 10.8.4, Mac Mini 10.8.4, iPhone 3GS Note 8!!

dtravis7 is offline
TextWrangler is a great text editor.
QUOTE Thanks
timboy
Guest
 
Posts: n/a

Quote:
In the Open and Save tab I also have Ignore rich text commands in HTML files checked.
Yeah, this did the trick - thanks.
QUOTE Thanks

Post Reply New Thread Subscribe


« Hi, i'm new at this webmaster stuff, lol | PHP installed on Tiger? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Web Creating zer0uk OS X - Apps and Games 3 06-16-2005 07:03 PM
Will iWork create simple web pages? badmojo OS X - Apps and Games 1 05-16-2005 05:44 PM
Disk Utility - problems creating disk image w/Tiger desert_rose OS X - Apps and Games 0 05-15-2005 06:20 PM
Audio editing programs when building web pages? titan0111 Web Design and Hosting 2 05-06-2005 03:17 PM
Question about printing web pages CaptainStandish Switcher Hangout 6 10-05-2004 07:43 PM

All times are GMT -4. The time now is 11:15 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?