On 1/7/06, Gunlaug Sørtun <[EMAIL PROTECTED]> wrote:

> It is not as easy to hide proprietary and 'not-yet-recommended' CSS from
> the validator, as it is with all the garbage often needed to make IE/win
> behave.
> OTOH: hiding something in a conditional comment (or in a 'non-existent
> stylesheet', like I do at times) doesn't make it more valid - just hidden.

Conditional statements are not hidden, they just do whatever you code
them to do. They are a valid markup.
>
> BTW: non-valid CSS doesn't affect HTML/XHTML status/validity at all.

True. However, if we are coding to standards then it pays to be aware
of any coding errors in css. You can't look at each standard in a
vacuum.

> > It does not validate at all as HTML 4.01 Strict - are you sure you
> > are checking validation against that DOCTYPE?
>
> This sounds a bit strange to me.
> Which source-code should be checked as HTML4.01?
>
> Given the fact that the validator is fed an XHTML1.1 page with the
> correct MIME-type by default, is it even possible to check that
> source-code as HTML? I would think not.
>
> Enforcing the validator wouldn't work - and it shouldn't since the
> source-code isn't 'HTML4.01 Anything' when it's served to the validator.
>
And your point is? I made the comment that the site does not validate
as HTML 4.01, did you see me say how I validated it?  Anyone designing
a site to render as one DOCTYPE in some browsers and another DOCTYPE
for other browsers, and who wishes to have the pages validate against
both DOCTYPES  would, I assume, check the validation for both.
This can be done in many ways, such as entering the source code, or in
cases where the person looking at the code is sufficiently
experienced, just looking can show there are errors.

The validators themselves tell you that they have limitations.  A page
can validate according to the W3C online service but, in fact, not be
valid. It all comes down to how closely any developer wishes to adhere
to standards and how much of a purist anyone is when it comes to
correct coding ;)

Cheers,
Lynne
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to