re: HTML, CSS, and other Code

Brother, can you spare a validation?

When it comes to code validation of a webpage, and in this instance the validation done by the W3C CSS Validation Service, I am in favor of it because years ago when code standards varied from browser to browser it was laborious to adjust everything - when you could - so the page would look at least presentable. Nowadays you can make the code as validated as possible once and it will generally do the job across browsers.

But not everything is rainbows and unicorns in the land of W3C, many are the times when I've googled a question about something that didn't validate even though it seemed to work. The responses from various websites would help but there were some who noted out that W3C was not always correct in pointing out errors simply because it had not updated to account for particular items. Some of them even regarded W3C 'validation' as almost having some type of proprietary/political motivation. For the record, I have no political regard about W3C. :-)

For example, all the pages in Sitesetis, both HTML and CSS, validate but solely in regard to the code of the page. In other words, I upload the code to the validator and work from there. But if I validate via the URL of '' then elements other than the code on the page are put through the process. What usually appears then are many 'errors' and 'warnings'.

Css validation results for the Main page of Sitesetis done through the URL shows the page as having 6 errors having to do with the JQuery menu. I cannot claim to be particular savvy when it comes to javascript so right there I have to consider contacting the designer of the menu and asking questions about validation. Consider yourself lucky if you even get one reply.

Then, the 'warnings' from the validator come in at a whopping 399. Needless to say, for someone starting out learning proper code that alert could be cause for a wide-eyed catatonia. But I take it with a 'pixel' of salt, the reason being that 398 of those warnings are for 'unknown vendor extensions' which are proprietary code and thus the validator will regard it as somehow wrong. By the way, if you ever need to use the W3C validator, click on 'More Options' tnen in 'Warnings' choose 'Most important'. That effectively brought the aforementioned number of warnings in my validation to zero

So, after years of witnessing this my approach is to code as simply as possible, check the results in a few browsers and research other elements like vendor extensions, javascript, etc., to see what can or cannot be done. Anyway, code and its validation is always being developed so best to go with what seems relatively decent in the results.

Comments and suggestions re code are welcomed. CSS source code is not fully compressed but some may wish to use a decompressor. Note: I don't usually compress Html code since the space saved is minor and other considerations.

Thank You

Daniel V.