[thelist] Validation Problems

Magnus Jönsson Magnus.Joensson at jensofsweden.com
Thu Dec 8 03:46:38 CST 2005


I just switched from ASP.NET 1.1 to ASP.NET 2.0, so finally I can start getting some valid XHTML code.

Although the W3C Validator doesn't agree, when I validate my page it says I have a border attribute on an input element. But when I check the source in Firefox there is no border attribute, instead there is a style="border-width:0px;" (Which I don't wan't either but atleast it's vaild)

The element in question is like I said an input element and it's dynamically generated by ASP.NET.

Does anyone know why this happens, kind of annoying when the page is valid XHTML, but the source when I validate looks different from the source in the browser?

Magnus



More information about the thelist mailing list