You are here: Re: Browser detect problem « PHP Programming Language « IT news, forums, messages
Re: Browser detect problem

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация