The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

ways to achieve cross browser detection

I have been looking around the web for articles that talk about browser detection and ways to implement javascripts that detect a user's browser. I've found a few useful articles, but I'm now wondering which technique I should use. I found one script that talks about directing visitors to different web pages based on their browser, but I'm reluctant to use this because I'd have 2 copies of most pages and different URLs of the same page.

I also found a script that detects a user's browser and loads a style sheet that is written for that specific browser. This also seems complex and it could open up a new set of problems.

For javascript browser detection you have found the best tutorial around. The webreference ones go into great detail. You could also do something similar with PHP (which wouldn't rely on js being turned on)