CodingCoding from a Mac or...?

 

Press Ctrl+Enter to quickly submit your post
Quick Reply  
 
 
  
 From:  funky (ISA)  
 To:  ALL
33183.1 

I have done everything right, and yet, it is wrong.

 

http://zonorus.marlboro.edu/~lisabella/tutorial/first.html

 

What could be getting in the way of that?

 

Is there something different one must do on a Mac when placing a new page from textedit onto the internet via one's ftp?

 

Could it be the school server's problem?

0/0
 Reply   Quote More 

 From:  JonCooper  
 To:  funky (ISA)     
33183.2 In reply to 33183.1 
Looking at the code for the page you have there, it would seem what you've written is correct (as far as it goes) but your WYSIWYG editor (Cocoa HTML Writer?) has decided to write the structure of your page for you and present your code as if it were all text (ie; like an example)

your page's code is actually this ~

code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta http-equiv="Content-Style-Type" content="text/css">
  <title></title>
  <meta name="Generator" content="Cocoa HTML Writer">
  <meta name="CocoaVersion" content="824.41">
  <style type="text/css">
    p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}
  </style>
</head>
<body>
<p class="p1">&lt;html&gt;</p>
<p class="p1">&lt;head&gt;</p>
<p class="p1">&lt;title&gt;&lt;b&gt;My &lt;i&gt;first&lt;/i&gt; proper web page&lt;/b&gt;&lt;/title&gt;</p>
<p class="p1">&lt;/head&gt;</p>
<p class="p1">&lt;body&gt;</p>
<p class="p1">This is my first fully coded web page. (Well, it's my second, but I'll follow the rules!)</p>
<p class="p1">&lt;/body&gt;</p>
<p class="p1">&lt;/html&gt;</p>
</body>
</html>


see the bits like
code:
&lt;html&gt;
that's what it did where you wrote <html>

[edit] I'd guess you're using WYSIWYG mode in your editor (so you got what you saw) but you need to be using a different mode, html or code or whatever

Jon
0/0
 Reply   Quote More 

 From:  JonCooper  
 To:  funky (ISA)     
33183.3 In reply to 33183.1 
a quick google for "Cocoa HTML writer" indicates many have had similar issues

have a look at this guys way of saving files so it dosn't pre-format the code

http://www.macosxhints.com/article.php?story=20060828093624972

Jon
0/0
 Reply   Quote More 

 From:  Peter (BOUGHTONP)  
 To:  funky (ISA)     
33183.4 In reply to 33183.1 
You can avoid reading the big long blog post and just do this:

quote:
Start TextEdit and change the following preferences:
- Open the the "Format" menu and select "Plain text" instead of "Rich text".
- Open the "Preferences" window under the "Text Edit" menu and select "Ignore rich text commands in HTML files".
0/0
 Reply   Quote More 

 From:  funky (ISA)  
 To:  JonCooper     
33183.5 In reply to 33183.3 

Damn. I just made it worse. Maybe I need to upgrade my textEdit.

 

http://zonorus.marlboro.edu/~lisabella/test4.html

0/0
 Reply   Quote More 

 From:  JonCooper  
 To:  funky (ISA)     
33183.6 In reply to 33183.5 
you're typing this ~
code:
<html>

What am I doing wrong, Cooper?  I'm using TextEdit already and saving it as HTML already.  :'(  I just changed some settings as per the article.  Let's see if this works.

</html>




but your editor is doing this to it ~

code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta http-equiv="Content-Style-Type" content="text/css">
  <title></title>
  <meta name="Generator" content="Cocoa HTML Writer">
  <meta name="CocoaVersion" content="824.41">
</head>
<body>
<p><html></p>
<p>What am I doing wrong, Cooper?  I'm using TextEdit already and saving it as HTML already.  :'(  I just changed some settings as per the article.  Let's see if this works.</p>
<p></html></p>
</body>
</html>

Jon
0/0
 Reply   Quote More 

 From:  funky (ISA)  
 To:  JonCooper     
33183.7 In reply to 33183.3 

I just downloaded a program strictly for web design text editing.

 

http://zonorus.marlboro.edu/~lisabella/test5.html

 

yay!!!!!

 

I hope my prof doesn't mind. He was wanting us to use textEdit specifically.

 

Thanks for your help, etc, you two.

0/0
 Reply   Quote More 

 From:  ANT_THOMAS  
 To:  funky (ISA)     
33183.8 In reply to 33183.7 
No proper doctype headers there.

0/0
 Reply   Quote More 

 From:  JonCooper  
 To:  funky (ISA)     
33183.9 In reply to 33183.7 
if your prof wants you to use textEdit specifically then he probabally has a reason - maybe to see if you solve this issue?

Jon
0/0
 Reply   Quote More 

 From:  funky (ISA)  
 To:  JonCooper     
33183.10 In reply to 33183.9 
Nah. I think it's so we really understand how html works, and I already do, so I think it's fine if I use a program that gives me the </head> after I write <head> or whatever. We'll be moving on quickly to using programs that write it for us, so I'm not so worried, anyway, but thanks for your concern.
0/0
 Reply   Quote More 

Message 33183.11 was deleted

 From:  JonCooper  
 To:  Mr (M00RL0CK)     
33183.12 In reply to 33183.11 
maybe a new thread wasn't needed, but I have to say I don't understand why her sig didn't work right either, there is no code there to make the second pic appear under the first, and when I C&P the code into another file as a test it works as she expected it to.

Jon
0/0
 Reply   Quote More 

Message 33183.13 was deleted

 From:  spinning_plates  
 To:  Mr (M00RL0CK)     
33183.14 In reply to 33183.13 
I tried previewing using her code and and it was doing some odd stuff for no obvious reason, even when I put it in a table to start with.

0/0
 Reply   Quote More 

Reply to All    
 

1–14

Rate my interest:

Adjust text size : Smaller 10 Larger

Beehive Forum 1.5.2 |  FAQ |  Docs |  Support |  Donate! ©2002 - 2024 Project Beehive Forum

Forum Stats