W3C home > Mailing lists > Public > www-validator@w3.org > May 2008

Re: W3C Markup Validation Problem

From: David Dorward <david@dorward.me.uk>
Date: Wed, 14 May 2008 19:22:50 +0100
Cc: <www-validator@w3.org>
Message-Id: <3FFBBA64-6425-4637-84ED-73E34B34873D@dorward.me.uk>
To: Sean Webster <seanw@cccs.co.uk>

On 14 May 2008, at 15:13, Sean Webster wrote:
> We are having a problem when using the W3C Markup Validation Service,
> The Validation Service produces 1 Failed Validation error when  
> looking at the address: http://www.cccs.co.uk/
> The actual error is pointing to border="0" however on our website  
> that isn't even included in our code so are unable to remove it!

Welcome to the wonderful world of ASP.NET. You are, presumably, using  
a piece of Microsoft code that generates different HTML depending on  
the User-Agent string sent by the browser. The Validator's User-Agent  
string gets the "IE 4.x era compatibility" code, which isn't valid  
under the Doctype you are using.

I've never used ASP.NET (and what I've heard about it doesn't  
encourage me to try any time soon), but this post in the archives of  
the mailing list might point you in the right direction: http://lists.w3.org/Archives/Public/www-validator/2006Sep/0031.html

David Dorward
Received on Wednesday, 14 May 2008 18:23:32 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:59:08 UTC