Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > HTML expert needed

HTML expert needed
Thread Tools
Mac Elite
Join Date: Apr 2000
Status: Offline
Reply With Quote
Apr 7, 2003, 09:30 PM
 
I am working on a simple website for my hockey team. I am trying to code everything by hand. Nothing fancy here.

I am running into problems. I have this table setup, to look 'cool'. The problem is only Camino likes it. IE and Safari cant render it properly. I tried to follow the W3C recommendations. So is that a IE/Safari issue. OR is it me.......

Check the page at http://iceplexscorpions.jbbweb.net/i...ns(short).html

Thanks

Villa
     
Mac Elite
Join Date: May 1999
Location: San Jose, CA
Status: Offline
Reply With Quote
Apr 7, 2003, 11:51 PM
 
There's several problems with the page, some of which may or may not be affecting the display of the page.

First, there are no <HTML> and </HTML> tags in the document. There should be a <HTML> tag above the <HEAD> tag, and there should be a </HTML> tag after the </BODY> at the end.

Secondly, you have several table cells that have "rowspan=0". I can't imagine this is legal - what's the point of a cell that takes 0 space?

Third, several of the lines (especially table row lines) appear to have null characters at the end. These might be special formatting characters inserted by word processing programs or similar - Word, for example, is notorious for doing this.

FWIW, the definitive HTML checker is the W3C Validator available at http://validator.w3.org/

Enter your URL and it will parse it and report errors (down to which characters in which lines) it has a problem with, based on the definitive HTML references (which the W3C maintain)
Gods don't kill people - people with Gods kill people.
     
Junior Member
Join Date: Oct 2000
Status: Offline
Reply With Quote
Apr 8, 2003, 12:37 AM
 
Originally posted by Camelot:
Secondly, you have several table cells that have "rowspan=0". I can't imagine this is legal - what's the point of a cell that takes 0 space?
According to the specs, a row or column with a span of 0 should span the maximum distance possible. The problem is, I've never seen a browser that does that.
     
Mac Elite
Join Date: Apr 2000
Status: Offline
Reply With Quote
Apr 8, 2003, 07:20 AM
 
Originally posted by Camelot:
There's several problems with the page, some of which may or may not be affecting the display of the page.

First, there are no <HTML> and </HTML> tags in the document. There should be a <HTML> tag above the <HEAD> tag, and there should be a </HTML> tag after the </BODY> at the end.

Secondly, you have several table cells that have "rowspan=0". I can't imagine this is legal - what's the point of a cell that takes 0 space?

Third, several of the lines (especially table row lines) appear to have null characters at the end. These might be special formatting characters inserted by word processing programs or similar - Word, for example, is notorious for doing this.

FWIW, the definitive HTML checker is the W3C Validator available at http://validator.w3.org/

Enter your URL and it will parse it and report errors (down to which characters in which lines) it has a problem with, based on the definitive HTML references (which the W3C maintain)
Thanks for the reply. The rowspan="0" has been addressed by a poster above. It is legal HTML 4.01 stuff. It might indeed be the problem. The gecko engine apparently respects it. There is hope future version of Safari will as well. I need to check that on the dark side too.
Regarding the null characters at the end of the lines, I noticed that using the link you gave. The thing is I don't know how to get rid of these. I don't 'see' any bad characters.
Oh yeah, I'll take care of the <html> tag.....

villa
     
Grizzled Veteran
Join Date: Nov 2001
Location: Oregon
Status: Offline
Reply With Quote
Apr 8, 2003, 10:31 PM
 
Regarding the null characters at the end of the lines, I noticed that using the link you gave. The thing is I don't know how to get rid of these. I don't 'see' any bad characters.
Any good text editor should be able to remove non-printing characters. Tex-Edit, for example, can do this.

One of the great things for web developers about iCab is that it has a built-in HTML checker. For example, it yields this on your page:
Code:
http://iceplexscorpions.jbbweb.net/iceplexscorpions(short).html Error (5/74): The end tag &lt;/META&gt; is not defined. Error (16/44): Tags or text are not allowed here. The tag &lt;TD&gt; is missing. Error (17/54): Tags or text are not allowed here. The tag &lt;TD&gt; is missing. Warning (19/6): The tag &lt;CENTER&gt; should no longer be used since HTML 4.0. Error (20/63): The end tag &lt;/IMG&gt; is not defined. Error (23/55): Tags or text are not allowed here. The tag &lt;TD&gt; is missing. Error (34/5): In the tag &lt;TD&gt; the attribute "CELLPADDING" is not allowed. Warning (36/6): The tag &lt;CENTER&gt; should no longer be used since HTML 4.0. Warning (45/5): The attribute "BACKGROUND" is not allowed for the tag &lt;TD&gt;. Warning (47/6): The tag &lt;CENTER&gt; should no longer be used since HTML 4.0. Error (48/68): The start tag for &lt;/P&gt; can't be found.
     
   
Thread Tools
Forum Links
Forum 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 On
Top
Privacy Policy
All times are GMT -5. The time now is 03:22 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2