 |
 |
HTML expert needed
|
 |
|
 |
|
Mac Elite
Join Date: Apr 2000
Status:
Offline
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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 </META> is not defined.
Error (16/44): Tags or text are not allowed here. The tag <TD> is missing.
Error (17/54): Tags or text are not allowed here. The tag <TD> is missing.
Warning (19/6): The tag <CENTER> should no longer be used since HTML 4.0.
Error (20/63): The end tag </IMG> is not defined.
Error (23/55): Tags or text are not allowed here. The tag <TD> is missing.
Error (34/5): In the tag <TD> the attribute "CELLPADDING" is not allowed.
Warning (36/6): The tag <CENTER> should no longer be used since HTML 4.0.
Warning (45/5): The attribute "BACKGROUND" is not allowed for the tag <TD>.
Warning (47/6): The tag <CENTER> should no longer be used since HTML 4.0.
Error (48/68): The start tag for </P> can't be found.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|