| 
	
 | 
 Posted by John Dunlop on 06/14/06 07:12 
KoRnDragon: 
 
> I'm using FireFox when it does that though. I wouldn't be having a 
> problem if I was using IE and it thought I was using IE. I'm using 
> FireFox and it thinks I'm using IE. 
 
  I realise that.  I was suggesting that you could use conditional 
comments to serve Internet Explorer-only content (including styles 
overruling non-Internet Explorer styles).  Other browsers should treat 
the content as a comment, since that is what it is as far as HTML4.01 
is concerned. 
 
  That said, browser detection is not only doomed to failure but also 
probably a mistake.  As Michael Winter has pointed out, moving browser 
detection based on the User-Agent header from client-side to 
server-side does not overcome any of its problems, because browsers 
still pretend to be each other.  The mistake, I think, is making more 
work for yourself than you really need. 
 
--  
Jock
 
  
Navigation:
[Reply to this message] 
 |