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.

Html Problem


Post Reply New Thread Subscribe

 
Thread Tools
the_macpanther

 
the_macpanther's Avatar
 
Member Since: Jan 03, 2007
Posts: 28
the_macpanther is on a distinguished road

the_macpanther is offline
I can't seem to read my handcoded html files in firefox or safari. I am using osx 10.4.11 and when I open it in browsers all I get is the code, not the page.I use text edit, and open office.
I've even been testing simple codes like
<html>
<body>
Test
</body>
</html>
it will show up like ^
not like

Test

...so it's not the code.

Please help
QUOTE Thanks
BlueMac

 
BlueMac's Avatar
 
Member Since: Sep 01, 2008
Location: Rhinebeck, NY
Posts: 1,056
BlueMac is a jewel in the roughBlueMac is a jewel in the rough
Mac Specs: 20" iMac 2.66 GHz... Running 10.5.7

BlueMac is offline
You have to make it plain text, not rich text. So, go to Text Edit and go to Format. Click 'Make Plain Text'. This should help you're problem. If this still doesn't work, come back and tell us.
QUOTE Thanks
the_macpanther

 
the_macpanther's Avatar
 
Member Since: Jan 03, 2007
Posts: 28
the_macpanther is on a distinguished road

the_macpanther is offline
I put it in HTML format, not rich text. It's still not working.
QUOTE Thanks
BlueMac

 
BlueMac's Avatar
 
Member Since: Sep 01, 2008
Location: Rhinebeck, NY
Posts: 1,056
BlueMac is a jewel in the roughBlueMac is a jewel in the rough
Mac Specs: 20" iMac 2.66 GHz... Running 10.5.7

BlueMac is offline
Quote:
Originally Posted by the_macpanther View Post
I put it in HTML format, not rich text. It's still not working.

Put it into PLAIN TEXT format.
QUOTE Thanks
the_macpanther

 
the_macpanther's Avatar
 
Member Since: Jan 03, 2007
Posts: 28
the_macpanther is on a distinguished road

the_macpanther is offline
Ok, i did that and it kind of works, everywhere there is a space there is an E with a ^ above it. How do I fix that?
QUOTE Thanks
BlueMac

 
BlueMac's Avatar
 
Member Since: Sep 01, 2008
Location: Rhinebeck, NY
Posts: 1,056
BlueMac is a jewel in the roughBlueMac is a jewel in the rough
Mac Specs: 20" iMac 2.66 GHz... Running 10.5.7

BlueMac is offline
Quote:
Originally Posted by the_macpanther View Post
Ok, i did that and it kind of works, everywhere there is a space there is an E with a ^ above it. How do I fix that?
I don't know what you mean. Could you take a screenshot so I can see what you are talking about?
QUOTE Thanks
bitshiftr

 
bitshiftr's Avatar
 
Member Since: Sep 13, 2008
Location: 127.0.0.1
Posts: 6
bitshiftr is on a distinguished road

bitshiftr is offline
$5 says it's something borked in the header...

Resident Pedobear
QUOTE Thanks
BlueMac

 
BlueMac's Avatar
 
Member Since: Sep 01, 2008
Location: Rhinebeck, NY
Posts: 1,056
BlueMac is a jewel in the roughBlueMac is a jewel in the rough
Mac Specs: 20" iMac 2.66 GHz... Running 10.5.7

BlueMac is offline
Quote:
Originally Posted by bitshiftr View Post
$5 says it's something borked in the header...
I''ll see you, and raise it ten......
QUOTE Thanks
the_macpanther

 
the_macpanther's Avatar
 
Member Since: Jan 03, 2007
Posts: 28
the_macpanther is on a distinguished road

the_macpanther is offline
here it is...
Attached Images
File Type: png Picture 1.png (152.8 KB, 9 views)
QUOTE Thanks
louishen

 
louishen's Avatar
 
Member Since: Oct 22, 2007
Location: London
Posts: 8,935
louishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant future
Mac Specs: Mac Mini Core i7 2012 | White 2009 MacBook 2 Ghz | 733 Mhz G4 Quicksilver

louishen is offline
Why are you trying to hand code, why not use Komposer until you get more of a handle on the code?
QUOTE Thanks
the_macpanther

 
the_macpanther's Avatar
 
Member Since: Jan 03, 2007
Posts: 28
the_macpanther is on a distinguished road

the_macpanther is offline
i like to code it by myself. The code is just fine. it's just something with text edit. but i'll try komposer and see if that does it.
QUOTE Thanks
Lewwy

 
Lewwy's Avatar
 
Member Since: May 21, 2007
Posts: 198
Lewwy is on a distinguished road
Mac Specs: 15" Macbook Pro, 2.16gz, 2gb RAM || 20" iMac, 2.4gz, 2gb RAM

Lewwy is offline
I think the guys betting are right..

Looks to me that you havent got the 'encoding' set right..

Add <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> in between your <head> and </head> tags..

If that doesnt fix it.. I fold!
QUOTE Thanks
the_macpanther

 
the_macpanther's Avatar
 
Member Since: Jan 03, 2007
Posts: 28
the_macpanther is on a distinguished road

the_macpanther is offline
Quote:
Originally Posted by Lewwy View Post
I think the guys betting are right..

Looks to me that you havent got the 'encoding' set right..

Add <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> in between your <head> and </head> tags..

If that doesn't fix it.. I fold!
I got it working in open office. It turns out it will help write it, because all syntax is color coded. So that fixed it, but to be safe I added Lewwy's advice.
What does that code do anyway?

In sum TextEdit was a pain. When I encoded it it always messed it up. but in open office all you have to do is switch over to html view. and you're fine. You don't have to worry about artifacts or anything like that.
QUOTE Thanks
louishen

 
louishen's Avatar
 
Member Since: Oct 22, 2007
Location: London
Posts: 8,935
louishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant future
Mac Specs: Mac Mini Core i7 2012 | White 2009 MacBook 2 Ghz | 733 Mhz G4 Quicksilver

louishen is offline
that top code tells the browser what type of document it is parsing

The head tags enclose information like meta tags, CSS and javascript that are not directly seen. Once the browser has a doc type and head info. it will begin rendering the html in the body tags

But you are still best using a visual html editor, and looking at the code it generates to understand hand coding

as for a text editor that is more html friendly, I strongly recommend BBedit
QUOTE Thanks
the_macpanther

 
the_macpanther's Avatar
 
Member Since: Jan 03, 2007
Posts: 28
the_macpanther is on a distinguished road

the_macpanther is offline
Thanks alot you guys.
QUOTE Thanks

Post Reply New Thread Subscribe


« Hi there. | is it possible to customize the navbar in iweb? »
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
Problem With Keyboard...... mmcltd OS X - Operating System 4 02-02-2010 06:47 PM
Microsoft Messenger Problem millenium_spike OS X - Apps and Games 4 09-16-2008 01:11 AM
Problem with ethernet board after installing RAM and upgrading from 10.2.8 to 10.3.5 ydonofrio Apple Desktops 4 02-11-2008 07:16 PM
HTML problem karthikguna21 Web Design and Hosting 8 01-04-2008 01:49 PM
Safari not displaying HTML cad2blender OS X - Apps and Games 0 09-14-2007 09:29 PM

All times are GMT -4. The time now is 11:42 PM.

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?