Panama Jack wrote:
LOL! Sorry but it is still a failure of those browsers.
We're gonna have to disagree on this one.
As I said, you are placing a non-relative size inside a container that is smaller than that size, so the browser tries to determine how to lay it out.
If you remove those two lines, it looks the same in *all* browsers, so how is it not an error in your code? Better, what
good are those two lines doing, since removing them maintains the look in the other browsers, and fixes it in Mozilla?
It almost seems as if you are trying to engineer the page to NOT work in Mozilla(?!).
Panama Jack wrote:
The sad thing is the W3C validator is very out of date and generates a ton of false errors and that makes it highly unreliable. It really fails horribly when it comes to any java scripting.
On the contrary, it was just updated one month ago, and is updated daily! Its not failing on your javascript - you are failing to declare your javascript correctly, and failing to do character encoding properly. If you do it correctly you can have the benefits of html compliance.
Panama Jack wrote:
It died on an & and an = and shouldn't have. It also logged the l in layout on links like the above as an error. That's just one of many places it died.
No - it should have logged those errors, and it explains why! & is not an url-safe entity - they should be url-encoded. In fact, in other places in your document, you correctly handle them! They should be presented as
It even links you to a page on how to fix the issue (
http://www.htmlhelp.com/tools/validator ... s.html#amp), which explains not only how to fix it (change them to
, which you can do with php's urlencode() or htmlentities()), and why its a problem - & denotes the beginning of an html entity.
Even the php manual itself chimes in on the issue:
Quote:
Note: Be careful about variables that may match HTML entities. Things like &, © and £ are parsed by the browser and the actual entity is used instead of the desired variable name. This is an obvious hassle that the W3C has been telling people about for years. The reference is here:
http://www.w3.org/TR/html4/appendix/notes.html#h-B.2.2Not just the w3c saying it. Its an honest, real problem in html compliance.
The reason it chokes on your javascript is that you similarly don't create your javascript correctly.
First and foremost, javascript must be declared like so:
<script type="text/javascript">
<!--
[INSERT JAVASCRIPT HERE]
-->
</script>
In order, the script TYPE is text/javascript - You don't define the script type at all - you just give it a language:
<script language="JavaScript">
And then you fail to comment out the script itself - which means that browsers that cannot parse javascript, like lynx, google's bot, and most validators - will attempt to parse it. Simple change, big benefits.
Panama Jack wrote:
The validator at W3C needs some serious work and there are far better HTML 4.0 validators out there (as I have shown you) that do not generate false positives like the W3C does. If you want to use it even though it is seriously flawed then so be it but you can't use it for justifying anything. But good try.
Its not seriously flawed, nor are they false positives. Your own validators bring them up as well - just lowering their values to warnings, when they are in fact errors.
The W3c wrote the standards, they know quite well what is correct HTML and whats not. But thats really beside the point, you continue to point the finger elsewhere when I'm giving you concrete fixes for problems in your own code that will help users use your site better.. why not make the change?