PDA

View Full Version : ShrapnelGames.com


Combat Wombat
March 10th, 2005, 02:47 AM
Fyron showed me this site to help me find problems with my site and out of curiosity I ran Shrapnelgames.com through and got alot of stuff showing up.

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.shrapnelgames.com

I thought it was interesting so I am sharing it.

Baron Munchausen
March 12th, 2005, 06:58 PM
There is one glaring problem that would probably fix most of the other problems listed.

<!-- START OF header.tmpl TEMPLATE -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

NOTHING is supposed to come before the DOCTYPE declaration, not even comments. So how does this comment appear as the first thing in every page from the Shrapnelcommunity website? Someone goofed somewhere. Was it the BB software authors or the designer of this particular website? If this comment were removed, the DOCTYPE would be recognized and many of the other errors listed would probably be resolved.

Instar
March 13th, 2005, 08:06 PM
To be honest, comments should be able to go anywhere. I don't understand why the standard is that strict... frankly, I think it is a design blunder on the W3C's part.

Baron Munchausen
March 13th, 2005, 08:26 PM
Well, I can tell you that it does make a difference in how various browsers will render a page if the DOCTYPE is not the very first thing on the page. I had a problem with some sites because of Proxomitron putting certain 'includes' on the page before the DOCTYPE had been received and it screwed up the page formatting. The filters had to be altered to look for the DOCTYPE in order to prevent this problem.

Instar
March 13th, 2005, 08:46 PM
Well, I can understand that, but I have to say that a rendering engine ought to be a little more intelligent and robust. Comments should just be ignored automatically. Its just how I think... and of course, HTML is a script, not compiled, which is my preferred methodology.

Fyron
March 14th, 2005, 04:09 AM
Standards exist for a reason...

Phoenix-D
March 14th, 2005, 01:46 PM
Imperator Fyron said:
Standards exist for a reason...



Which doesn't mean they can't be stupid standards. http://forum.shrapnelgames.com/images/smilies/happy.gif Comments should be ignored no matter where they are. That's the entire point of a comment.

Instar
March 14th, 2005, 02:02 PM
Phoenix-D said:

Imperator Fyron said:
Standards exist for a reason...



Which doesn't mean they can't be stupid standards. http://forum.shrapnelgames.com/images/smilies/happy.gif Comments should be ignored no matter where they are. That's the entire point of a comment.


Exactly. Just because its a standard doesn't make it right.