W3C home > Mailing lists > Public > www-validator@w3.org > February 2006

Re: asp.net panel browser inconsistencies

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Fri, 03 Feb 2006 15:12:00 +1100
Message-ID: <43E2D810.5070002@lachy.id.au>
To: Fiona Farrell <fiona@irishjobs.ie>
CC: www-validator@w3.org

Fiona Farrell wrote:
> We have been using the W3c Validator to audit some pages on our site. We
> have come across some issues regarding the <asp:panel> control which creates
> different outputs for internet explorer and FireFox. In internet explorer it
> creates a <div> tag where FF creates <table> items.

Don't use <asp:panel>, or infact any ASP which produces different markup 
for different browsers based on the UA string.  Write your own markup 
instead of allowing ASP to generate it, and make sure exactly the same 
markup is sent to every single browser.  The details you provided should 
be plenty of evidence to prove that browser sniffing is an incredibly 
bad practice, never ever use it in any form whatsoever, under any 

Lachlan Hunt
Received on Friday, 3 February 2006 04:12:40 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:47 UTC